ClientWebSocket::State Property

.NET Framework (current version)
 

Get the WebSocket state of the ClientWebSocket instance.

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

public:
property WebSocketState State {
	virtual WebSocketState get() override;
}

Property Value

Type: System.Net.WebSockets::WebSocketState

Returns WebSocketState.

The WebSocket state of the ClientWebSocket instance.

.NET Framework
Available since 4.5
Return to top
Show: