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.

AddressFamily Enumeration

Specifies the addressing scheme that an instance of the Socket class can use.

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

public enum AddressFamily

Member nameDescription
Supported by Silverlight for Windows PhoneUnknownAn unknown address family.Not supported for use in a Silverlight for Windows Phone application.
Supported by Silverlight for Windows PhoneUnspecifiedAn address family has not been specified.Not supported for use in a Silverlight for Windows Phone application.
Supported by Silverlight for Windows PhoneInterNetworkAn address for IP version 4.
Supported by Silverlight for Windows PhoneInterNetworkV6An address for IP version 6.Not supported for use in a Silverlight for Windows Phone application.

An AddressFamily member specifies the addressing scheme that a Socket will use to resolve an address. For example, InterNetwork indicates that an IP version 4 address is expected when a Socket connects to an endpoint.

Version Notes

Silverlight for Windows Phone Silverlight for Windows Phone

InterNetwork is the only value of the AddressFamily enumeration valid for use in a Silverlight for Windows Phone application.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

Show:
© 2017 Microsoft