C# IPAddress IPv6None
Description
IPAddress IPv6None
Provides an IP address that indicates
that no network interface should be used. This property is read-only.
Syntax
IPAddress.IPv6None
has the following syntax.
public static readonly IPAddress IPv6None
Example
using System;/*from w w w . ja va2 s . c o m*/
using System.Net;
using System.Net.Sockets;
public class Example
{
public static void Main()
{
IPAddress a = IPAddress.IPv6None;
string ip = a.ToString();
Console.WriteLine(ip);
}
}
The code above generates the following result.