Behrooz
Behrooz

Reputation: 1734

.Net Internet Proxy

How to declare a network proxy for all windows programs to use?

Upvotes: 2

Views: 750

Answers (3)

Viktor Jevdokimov
Viktor Jevdokimov

Reputation: 1056

.NET framework WebRequest use Internet Options for current user context (accessible from control panel). As if it is set for IE, it will be used by .NET WebRequest.

But when WebRequest will run under account such as "NT AUTHORITY\NETWORK SERVICE", for example from ASP.NET application, there's no Internet Options set for this user. That way you have to play with registry.

For more, read article "Take the Burden Off Users with Automatic Configuration in .NET"

Upvotes: 5

Alfred Myers
Alfred Myers

Reputation: 6453

A quick search on Bing brought this post.

The guy there was able to do what you want using WMI.

Upvotes: 1

theraven
theraven

Reputation: 5025

Open IE go to internet options, go to connections, lan settings ->proxy settings

:P Not really an answer, just my tech support days shining through.

Upvotes: 2

Related Questions