IPPacketInformation::Interface Property

 

Gets the network interface information that is associated with a call to ReceiveMessageFrom or EndReceiveMessageFrom.

Namespace:   System.Net.Sockets
Assembly:  System (in System.dll)

public:
property int Interface {
	int get();
}

Property Value

Type: System::Int32

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.

.NET Framework
Available since 2.0
Return to top
Show: