FromDecToStringIp

public static string FromDecToStringIp(uint ip) { uint o1 = ip >> 24 & 0xFF; uint o2 = ip >> 16 & 0xFF; uint o3 = ip >> 8 & 0xFF; uint o4 = ip & 0xFF; return o1 + "." + o2 + "." + o3 + "." + o4; }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.