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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för