Share via


DevicePortalConnectionRequestReceivedEventArgs.IsWebSocketUpgradeRequest Property

Definition

Gets a value describing whether the request is for WebSocket communication.

public:
 property bool IsWebSocketUpgradeRequest { bool get(); };
bool IsWebSocketUpgradeRequest();
public bool IsWebSocketUpgradeRequest { get; }
var boolean = devicePortalConnectionRequestReceivedEventArgs.isWebSocketUpgradeRequest;
Public ReadOnly Property IsWebSocketUpgradeRequest As Boolean

Property Value

Boolean

bool

True if a WebSocket is being requested, otherwise False.

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Applies to