Authenticating with a Proxy server to connect to an external https server

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to authenticate against a proxyserver to create and external connection? how do i do this
Is it possible? I will have access to usernames and passwords

Thanks.
 
x54 said:
I need to authenticate against a proxyserver to create and external connection? how do i do this?
Is it possible? I will have access to usernames and passwords.

Hi x54,

have a look at the WebProxy-Class:
http://msdn.microsoft.com/library/?...ref/html/frlrfSystemNetWebProxyClassTopic.asp

The WebProxy-Class has a property "Credentials" of type ICredentials.

The NetworkCredential-Class implements the ICredentials-Interface:

http://msdn.microsoft.com/library/?...lrfsystemnetwebproxyclasscredentialstopic.asp

The NetworkCredential-Class has properties like Username and Password.

http://msdn.microsoft.com/library/?...lrfsystemnetnetworkcredentialmemberstopic.asp

Cheers

Arne Janning
 
Back
Top