C# IPAddress IsIPv4MappedToIPv6
Description
IPAddress IsIPv4MappedToIPv6
Gets whether the IP address
is an IPv4-mapped IPv6 address.
Syntax
IPAddress.IsIPv4MappedToIPv6
has the following syntax.
public bool IsIPv4MappedToIPv6 { get; }
Example
using System;/* ww w .j av a2 s.com*/
using System.Net;
using System.Net.Sockets;
public class Example
{
public static void Main()
{
Console.WriteLine(IPAddress.Loopback.IsIPv4MappedToIPv6);
}
}