WebSocketReceiveResult::Count Property
.NET Framework (current version)
Indicates the number of bytes that the WebSocket received.
Assembly: System (in System.dll)
Count can be 0 in two cases:
The WebSocket received an empty message. In this case the CloseStatus property is None.
The WebSocket received a close message was received from the remote endpoint. In this case the CloseStatus property is set to a value other than None.
.NET Framework
Available since 4.5
Available since 4.5
Show: