IPPacketInformation.Interface Propriedade
Definição
Obtém as informações do adaptador de rede que estão associadas uma chamada para ReceiveMessageFrom(Byte[], Int32, Int32, SocketFlags, EndPoint, IPPacketInformation) ou 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 da propriedade
Um Int32 valor, que representa o índice da interface de rede.An Int32 value, which represents the index of the network interface. Você pode usar esse índice com GetAllNetworkInterfaces() para obter mais informações sobre a interface relevante.You can use this index with GetAllNetworkInterfaces() to get more information about the relevant interface.