Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
RSSフィードを動的に生成するWebページがあります。
http://localhost/syn/atom.aspx
これにより、RSSフィードが動的に生成されます。
外部アプリケーションからrssにアクセスしようとしていますが、この特定のケースでは、rssページをメモリストリームにダウンロードする必要があります。
これは可能ですか?
WebRequest request = WebRequest.Create("http://localhost/syn/rss.aspx"); WebResponse response = request.GetResponse(); Console.WriteLine(((HttpWebResponse)response).StatusDescription); Stream dataStream = response.GetResponseStream(); return dataStream;