gipasoft

Request from internal server

Dec 8th, 2012
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.17 KB | None | 0 0
  1. public static bool IsProsperoSite
  2. {
  3.     get { return System.Net.Dns.GetHostEntry(System.Net.Dns.GetHostName()).AddressList.Any(ip => ip.ToString().StartsWith("10.0.0.")); }
  4. }
Advertisement
Add Comment
Please, Sign In to add comment