共用方式為


IPPacketInformation.Address 屬性

定義

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

屬性值

IPAddress,指示因呼叫 ReceiveMessageFrom(Byte[], Int32, Int32, SocketFlags, EndPoint, IPPacketInformation) 方法或 EndReceiveMessageFrom(IAsyncResult, SocketFlags, EndPoint, IPPacketInformation) 方法而接收之封包的原點資訊。 對於從單點傳送位址傳送的封包,Address 屬性會傳回寄件者的 IPAddress;對於多點傳送或廣播封包,Address 屬性將傳回多點傳送或廣播 IPAddress

適用於