var clientIP = System.Web.HttpContext.Current.Request.UserHostAddress; bool isIntranetUser = clientIP.StartsWith("192.") || clientIP .StartsWith("172.") || clientIP.StartsWith("10.") || HttpRequest.Current.Request.IsLocal;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)