ServerStreamWebSocketInformation クラス

定義

ServerStreamWebSocket オブジェクトのソケット情報を提供します。

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
継承
Object Platform::Object IInspectable ServerStreamWebSocketInformation
属性

Windows の要件

デバイス ファミリ
Windows 10, version 1803 (10.0.17134.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v6.0 で導入)
アプリの機能
internetClientServer privateNetworkClientServer

プロパティ

BandwidthStatistics

ServerStreamWebSocket オブジェクトでのネットワーク データ転送の帯域幅情報を取得します。

返される統計情報は、Windows のクライアント バージョンでは既定で有効になっているが、Windows のサーバー バージョンではパフォーマンス上の理由から既定で無効になっている拡張 TCP 統計情報に基づいていることに注意してください。 拡張 TCP 統計を使用できない場合、返されるすべての数値統計は 0 に設定され、ブール統計は false に設定されます。

LocalAddress

ServerStreamWebSocket オブジェクトに関連付けられている IP アドレスを取得します。

Protocol

ServerStreamWebSocket オブジェクトの WebSocket ハンドシェイク中にサーバーとネゴシエートされた WebSocketサブプロトコルを取得します。

適用対象

こちらもご覧ください