Breyta

Deila með


PackWebRequest.Credentials Property

Definition

Gets or sets the authentication credentials.

public:
 virtual property System::Net::ICredentials ^ Credentials { System::Net::ICredentials ^ get(); void set(System::Net::ICredentials ^ value); };
public override System.Net.ICredentials Credentials { get; set; }
member this.Credentials : System.Net.ICredentials with get, set
Public Overrides Property Credentials As ICredentials

Property Value

The authentication credentials to use with the request.

Remarks

Requests to the package cache use their own cached credentials.

The Credentials property is shared with the inner WebRequest (GetInnerRequest).

Applies to

See also