This documentation is archived and is not being maintained.

IPInterfaceProperties.GetIPv6Properties Method

Provides Internet Protocol version 6 (IPv6) configuration data for this network interface.

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

public abstract IPv6InterfaceProperties GetIPv6Properties ()
public abstract IPv6InterfaceProperties GetIPv6Properties ()
public abstract function GetIPv6Properties () : IPv6InterfaceProperties
Not applicable.

Return Value

An IPv6InterfaceProperties object that contains IPv6 configuration data.

Exception typeCondition


The interface does not support the IPv6 protocol.

For a detailed description of the information available for an interface that supports IPv6, see the IPv6InterfaceProperties documentation. Note that the object returned by the GetIPv6Properties method reflects the configuration as of the time the object is created. This information is not updated dynamically.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0