PackWebRequest.Credentials Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the authentication credentials.

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

public override ICredentials Credentials { 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
Show: