PackWebRequest::Credentials Property

 

Gets or sets the authentication credentials.

Namespace:   System.IO.Packaging
Assembly:  PresentationCore (in PresentationCore.dll)

public:
property ICredentials^ Credentials {
	virtual ICredentials^ get() override;
	virtual void set(ICredentials^ value) override;
}

Property Value

Type: System.Net::ICredentials^

The authentication credentials to use with the request.

Requests to the package cache use their own cached credentials.

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

.NET Framework
Available since 3.0
Return to top
Show: