WebClient settings agent.

xiaoxiao2021-03-06  57

WebClient defaults to use IE in .NET. You can also control it using different agents, or don't use the agent.

Do not use the agent: system.net.globalproxyselection.select = system.net.globalProxySelection.GetemptyWebProxy ();

Use agent system.net.globalProxySelection.select = new webproxy ...

转载请注明原文地址:https://www.9cbs.com/read-118272.html

New Post(0)