IPPacketInformation.Interface プロパティ

定義

ReceiveMessageFrom(Byte[], Int32, Int32, SocketFlags, EndPoint, IPPacketInformation)またはEndReceiveMessageFrom(IAsyncResult, SocketFlags, EndPoint, IPPacketInformation)の呼び出しに関連付けられているネットワーク インターフェイス情報を取得します。

public:
 property int Interface { int get(); };
public int Interface { get; }
member this.Interface : int
Public ReadOnly Property Interface As Integer

プロパティ値

ネットワーク インターフェイスのインデックスを表す Int32 値。 このインデックスを GetAllNetworkInterfaces() と共に使用すると、関連するインターフェイスに関する詳細情報を取得できます。

適用対象