문제

I'm going to be reading and parsing the EML files dropped by the Microsoft SMTP service. I am a newbie to using the various stream classes. The implementation I have seen that parses these files uses a variation on System.IO.Stream to read byte by byte. However, it seems like these files should never be anything but text. Wouldn't it be better to use a StreamReader? And if so, is there any reason to use something other than the default (UTF-8) encoding?

도움이 되었습니까?

해결책

  1. Windows Azure 또는 사용자의 서버에서 제공자 호스트 웹 응용 프로그램을 호스팅 할 수 있습니다.공급자 호스팅 앱의 정의는 응용 프로그램에 대한 호스팅 인프라를 가져 오는 것을 알려줍니다.Azure 가입이 있으면 잘 사용하거나 자신의 호스팅 환경을 사용하십시오.

  2. 클라이언트 ID 및 클라이언트 인증서는 호스팅중인 웹 응용 프로그램에서 얻을 수 없습니다. "/_layouts/15/appregnew.aspx"SharePoint 사이트에서 가져옵니다.

    내 것을 참조하십시오제공자 호스팅 앱에 대한 자세한 내용은 블로그 에 대한 자세한 내용은 블로그

  3. 죄송합니다, Windows Store 용 인증서를 얻는 것에 대해 확실하지 않습니다.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top