EndPoint.AddressFamily Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the address family to which the endpoint belongs.
public:
virtual property System::Net::Sockets::AddressFamily AddressFamily { System::Net::Sockets::AddressFamily get(); };
public virtual System.Net.Sockets.AddressFamily AddressFamily { get; }
member this.AddressFamily : System.Net.Sockets.AddressFamily
Public Overridable ReadOnly Property AddressFamily As AddressFamily
Property Value
One of the AddressFamily values.
Exceptions
Any attempt is made to get or set the property when the property is not overridden in a descendant class.
Remarks
The AddressFamily property specifies the addressing scheme that is used by the endpoint's underlying network protocol.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.