IPPacketInformation.Address IPPacketInformation.Address IPPacketInformation.Address IPPacketInformation.Address Property

Definition

Ruft die Ursprungsinformationen des Pakets ab, das als Ergebnis eines Aufrufs der ReceiveMessageFrom(Byte[], Int32, Int32, SocketFlags, EndPoint, IPPacketInformation)-Methode oder der EndReceiveMessageFrom(IAsyncResult, SocketFlags, EndPoint, IPPacketInformation)-Methode empfangen wurde.Gets the origin information of the packet that was received as a result of calling the ReceiveMessageFrom(Byte[], Int32, Int32, SocketFlags, EndPoint, IPPacketInformation) method or EndReceiveMessageFrom(IAsyncResult, SocketFlags, EndPoint, IPPacketInformation) method.

public:
 property System::Net::IPAddress ^ Address { System::Net::IPAddress ^ get(); };
public System.Net.IPAddress Address { get; }
member this.Address : System.Net.IPAddress
Public ReadOnly Property Address As IPAddress

Eigenschaftswert

Eine IPAddress, die die Ursprungsinformationen des Pakets angibt, das als Ergebnis eines Aufrufs der ReceiveMessageFrom(Byte[], Int32, Int32, SocketFlags, EndPoint, IPPacketInformation)-Methode oder der EndReceiveMessageFrom(IAsyncResult, SocketFlags, EndPoint, IPPacketInformation)-Methode empfangen wurde.An IPAddress that indicates the origin information of the packet that was received as a result of calling the ReceiveMessageFrom(Byte[], Int32, Int32, SocketFlags, EndPoint, IPPacketInformation) method or EndReceiveMessageFrom(IAsyncResult, SocketFlags, EndPoint, IPPacketInformation) method. Für Pakete, die von einer Unicastadresse gesendet wurden, gibt die Address-Eigenschaft die IPAddress des Absenders zurück. Für Multicast- oder Broadcastpakete, gibt die Address-Eigenschaft die Multicast- oder Broadcast-IPAddress zurück.For packets that were sent from a unicast address, the Address property will return the IPAddress of the sender; for multicast or broadcast packets, the Address property will return the multicast or broadcast IPAddress.

Gilt für: