WebSocketReceiveResult.MessageType Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Indicates whether the current message is a UTF-8 message or a binary message.

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

public WebSocketMessageType MessageType { get; private set; }

.NET Framework
Available since 4.5
Return to top