StreamWebSocketControl.ProxyCredential Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The credential to use to authenticate to the proxy server through HTTP header authentication using a StreamWebSocket object.
public:
property PasswordCredential ^ ProxyCredential { PasswordCredential ^ get(); void set(PasswordCredential ^ value); };
PasswordCredential ProxyCredential();
void ProxyCredential(PasswordCredential value);
public PasswordCredential ProxyCredential { get; set; }
var passwordCredential = streamWebSocketControl.proxyCredential;
streamWebSocketControl.proxyCredential = passwordCredential;
Public Property ProxyCredential As PasswordCredential
Property Value
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 StreamWebSocket object. An attempt to set the ProxyCredential property after calling the ConnectAsync method will result in an error.