Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HttpBaseProtocolFilter.ServerCredential | serverCredential property

Applies to Windows and Windows Phone

Get or set the credentials to be used to authenticate with an HTTP server.

Syntax


var serverCredential = httpBaseProtocolFilter.serverCredential;
httpBaseProtocolFilter.serverCredential = serverCredential;

Property value

Type: PasswordCredential

The credentials to be used to authenticate with an HTTP server.

Remarks

The system normally determines the credentials needed to authenticate with an HTTP server automatically. This property only needs to be set in advanced scenarios.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Web.Http.Filters
Windows::Web::Http::Filters [C++]

Metadata

Windows.winmd

See also

HttpBaseProtocolFilter

 

 

Show:
© 2014 Microsoft