Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft