This topic has not yet been rated - Rate this topic

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 name Description
Supported by Silverlight for Windows Phone Unknown An unknown address family.Not supported for use in a Silverlight for Windows Phone application.
Supported by Silverlight for Windows Phone Unspecified An address family has not been specified.Not supported for use in a Silverlight for Windows Phone application.
Supported by Silverlight for Windows Phone InterNetwork An address for IP version 4.
Supported by Silverlight for Windows Phone InterNetworkV6 An 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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ