using System;
using System.Net;

class Program
{
    static void Main()
    {
        string ipAddress = "192.168.0.1";

        // Get the IPHostEntry object for the specified IP address
        IPHostEntry hostEntry = Dns.GetHostEntry(ipAddress);

        // Display the host name and IP addresses associated with the IP address
        Console.WriteLine($"Host Name: {hostEntry.HostName}");
        Console.WriteLine("IP Addresses:");
        foreach (IPAddress address in hostEntry.AddressList)
        {
            Console.WriteLine(address);
        }
    }
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: