Mono Class Library: System.Net.EndPoint Overview | Members

System.Net.EndPoint.AddressFamily Property

Gets the address family to which the endpoint belongs. [Edit]

public virtual System.Net.Sockets.AddressFamily AddressFamily { get; }

Value

One of the values defined in System.Net.Sockets.AddressFamily . [Edit]

Exceptions

TypeReason
NotSupportedExceptionThis property is required to be overridden in types derived from System.Net.EndPoint . [Edit]

Remarks

Operation

This property is read-only.

The System.Net.Sockets.AddressFamily value returned by this property specifies the addressing scheme used by the network protocol of the current instance.

The default implementation throws NotSupportedException.

Note to Inheritors
Override this property to return the System.Net.Sockets.AddressFamily of the current instance.

Usage
Use this property to obtain the System.Net.Sockets.AddressFamily information of the current instance.

[Edit]

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0