This property provides the authentication information for the request.
[Visual Basic] Public Property Credentials As
ICredentials
[C#] public ICredentials Credentials {get;
set;}
Property Value
ICredentials contains the authentication information associated with the request.
The default value is null (in Visual Basic, Nothing).
Explanation
The Credentials property provides the authentication information for the request.