IPPacketInformation.Interface Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the network interface information that is associated with a call to ReceiveMessageFrom(Byte[], Int32, Int32, SocketFlags, EndPoint, IPPacketInformation) or 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
Property Value
An Int32 value, which represents the index of the network interface. You can use this index with GetAllNetworkInterfaces() to get more information about the relevant interface.