Credentials Property

PackWebRequest.Credentials Property


Gets or sets the authentication credentials.

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

override Credentials : ICredentials with get, set

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
© 2016 Microsoft