IPPacketInformation.Interface Propiedad
Definición
Obtiene la información de la interfaz de red que está asociada a una llamada a ReceiveMessageFrom(Byte[], Int32, Int32, SocketFlags, EndPoint, IPPacketInformation) o EndReceiveMessageFrom(IAsyncResult, SocketFlags, EndPoint, IPPacketInformation).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
Valor de propiedad
Un valor Int32, que representa el índice de la interfaz de red.An Int32 value, which represents the index of the network interface. Este índice se puede utilizar con GetAllNetworkInterfaces() para obtener más información sobre la interfaz pertinente.You can use this index with GetAllNetworkInterfaces() to get more information about the relevant interface.