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.
私は C# で WebBrowser コントロールを使用する初心者です。ユーザーエージェント文字列を変更しようとしています
Windows フォームの WebBrowser コントロール。これどうやってするの ?
助けてください。
WebBrowser の Navigate メソッドで追加のヘッダーを設定できます。
WebBrowser wc = new WebBrowser(); wc.Navigate("http://google.com", null, null, "User-Agent: User agent");