Share via


IWebSocketControl.ProxyCredential Property

Definition

The credential to use to authenticate to the proxy server through HTTP header authentication using an IWebSocket object.

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

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

Property Value

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

Remarks

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

Applies to

See also