MessageWebSocketControl.ProxyCredential | proxyCredential property

Applies to Windows and Windows Phone

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

Syntax


var proxyCredential = messageWebSocketControl.proxyCredential;
messageWebSocketControl.proxyCredential = proxyCredential;

Property value

Type: PasswordCredential

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 MessageWebSocket object. An attempt to set the ProxyCredential property after calling the ConnectAsync method will result in an error.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Networking.Sockets
Windows::Networking::Sockets [C++]

Metadata

Windows.winmd

DLL

Windows.Networking.dll

See also

Other resources
How to use advanced WebSocket controls (HTML)
How to use advanced WebSocket controls (XAML)
Other resources
How to use advanced WebSocket controls (HTML)
How to use advanced WebSocket controls (XAML)
Reference
ConnectAsync
MessageWebSocket
MessageWebSocketControl
PasswordCredential
ServerCredential

 

 

Show:
© 2014 Microsoft