Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IPPacketInformation::Address Property

 

Gets the origin information of the packet that was received as a result of calling the ReceiveMessageFrom method or EndReceiveMessageFrom method.

Namespace:   System.Net.Sockets
Assembly:  System (in System.dll)

public:
property IPAddress^ Address {
	IPAddress^ get();
}

Property Value

Type: System.Net::IPAddress^

An IPAddress that indicates the origin information of the packet that was received as a result of calling the ReceiveMessageFrom method or EndReceiveMessageFrom 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.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft