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: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om