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.
HttpWebRequestVB.Netを使用して、Web サイトのタイトル タグのテキストを取得しようとしています。
HttpWebRequest
HttpWebRequestand/orでテキストを取得することは可能HttpWebResponseですか?
HttpWebResponse
HttpWebRequestクラスは HTTP リクエストの送信に関するものです。 彼らは HTML について何も知りません。
代わりに、HTML Agility Pack などの HTML パーサーを使用する必要があります。
webclient.DownloadString を見てください。これにより、タイトルタグを見つけることができる文字列として Web ページが取得されます。