ClientWebSocket.SubProtocol Property

.NET Framework 4.5

Gets the supported WebSocket sub-protocol for the ClientWebSocket instance.

Namespace:  System.Net.WebSockets
Assembly:  System (in System.dll)

abstract SubProtocol : string with get 
override SubProtocol : string with get

Property Value

Type: System.String
Returns String.
The supported WebSocket sub-protocol.

.NET Framework

Supported in: 4.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft