Bewerken

Delen via


IPPacketInformation.Address Property

Definition

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

Property Value

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. 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.

Applies to