AddressFamily Property
Collapse the table of content
Expand the table of content

IPAddress.AddressFamily Property

 

Gets the address family of the IP address.

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

member AddressFamily : AddressFamily with get

Property Value

Type: System.Net.Sockets.AddressFamily

Returns InterNetwork for IPv4 or InterNetworkV6 for IPv6.

Refer to the example in the IPAddress class topic.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.1
Return to top
Show:
© 2016 Microsoft