IWebSocketControl.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 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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för