Language

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

プロパティ

Name 説明
BandwidthStatistics

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

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

LocalAddress

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

Protocol

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

適用対象

関連項目