Share via


ServerStreamWebSocketInformation Class

Definition

Provides socket information on a ServerStreamWebSocket object.

public ref class ServerStreamWebSocketInformation sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ServerStreamWebSocketInformation final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ServerStreamWebSocketInformation
Public NotInheritable Class ServerStreamWebSocketInformation
Inheritance
Object Platform::Object IInspectable ServerStreamWebSocketInformation
Attributes

Windows requirements

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

Properties

BandwidthStatistics

Gets bandwidth information for network data transfer on a ServerStreamWebSocket object.

Note that the returned statistics are based on extended TCP statistics, which are enabled by default on Client versions of Windows, but disabled by default for performance reasons on Server versions of Windows. If extended TCP statistics are not available, all returned numerical statistics are set to 0, and boolean statistics are set to false.

LocalAddress

Gets the IP address associated with a ServerStreamWebSocket object.

Protocol

Gets the WebSocket sub-protocol negotiated with the server during WebSocket handshake on a ServerStreamWebSocketobject.

Applies to

See also