Export (0) Print
Expand All

WebProxy.Credentials Property

Gets or sets the credentials to submit to the proxy server for authentication.

[Visual Basic]
Public Overridable Property Credentials As ICredentials  Implements _
   IWebProxy.Credentials
[C#]
public virtual ICredentials Credentials {get; set;}
[C++]
public: __property virtual ICredentials* get_Credentials();
public: __property virtual void set_Credentials(ICredentials*);
[JScript]
public function get Credentials() : ICredentials;
public function set Credentials(ICredentials);

Property Value

An ICredentials containing the credentials to submit to the proxy server for authentication.

Implements

IWebProxy.Credentials

Remarks

The Credentials property contains the authentication credentials to send to the proxy server in response to an HTTP 407 (proxy authorization) status code.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

WebProxy Class | WebProxy Members | System.Net Namespace

Show:
© 2014 Microsoft