Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MessageWebSocketInformation class

Provides socket information on a MessageWebSocket.

Syntax


public sealed class MessageWebSocketInformation : IWebSocketInformation

Members

The MessageWebSocketInformation class has these types of members:

Properties

The MessageWebSocketInformation class has these properties.

PropertyAccess typeDescription

BandwidthStatistics

Read-onlyGets bandwidth information for network data transfer on a MessageWebSocket object.

LocalAddress

Read-onlyGets the IP address associated with a MessageWebSocket object.

Protocol

Read-onlyGets the WebSocket sub-protocol negotiated with the server during WebSocket handshake on a MessageWebSocket object.

 

Remarks

MessageWebSocketInformation can be called any time after the MessageWebSocket has been created.

A MessageWebSocketInformation object is automatically created with the parent MessageWebSocket object. The MessageWebSocket.Information property provides access to the associated MessageWebSocketInformation object.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Networking.Sockets
Windows::Networking::Sockets [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 [Windows Store apps, desktop apps]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Networking.Sockets
Windows::Networking::Sockets [C++]

Metadata

Windows.winmd

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Version(0x06020000)]

See also

Object
IWebSocketInformation
Other resources
How to use advanced socket controls (HTML)
How to use advanced socket controls (XAML)
Reference
MessageWebSocket
MessageWebSocket.Information
MessageWebSocketControl

 

 

Show:
© 2015 Microsoft