HttpBaseProtocolFilter.ServerCredential Property

Definition

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

public:
 property PasswordCredential ^ ServerCredential { PasswordCredential ^ get(); void set(PasswordCredential ^ value); };
PasswordCredential ServerCredential();

void ServerCredential(PasswordCredential value);
public PasswordCredential ServerCredential { get; set; }
var passwordCredential = httpBaseProtocolFilter.serverCredential;
httpBaseProtocolFilter.serverCredential = passwordCredential;
Public Property ServerCredential As PasswordCredential

Property Value

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.

Applies to