MessageWebSocketControl.ProxyCredential Property

Definition

The credential to use to authenticate to the proxy server through HTTP header authentication using a MessageWebSocket object.

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

void ProxyCredential(PasswordCredential value);
public PasswordCredential ProxyCredential { get; set; }
var passwordCredential = messageWebSocketControl.proxyCredential;
messageWebSocketControl.proxyCredential = passwordCredential;
Public Property ProxyCredential As PasswordCredential

Property Value

PasswordCredential

The credential to use to authenticate to the proxy server through HTTP header authentication.

Implements

Remarks

The ProxyCredential property must be set before calling the ConnectAsync method on the MessageWebSocket object. An attempt to set the ProxyCredential property after calling the ConnectAsync method will result in an error.

Applies to

See also