using System;
public class Program
{
public static void Main()
byte[] ipArray = { 0x0A, 0x6D, 0x04, 0x0D }; // fetch from DB as byte[]
System.Net.IPAddress ip = new System.Net.IPAddress(ipArray);
String ipStr = ip.ToString(); // your dot-notation as String.
Console.WriteLine(ipStr);
}