string s = context.Request.ServerVariables["AUTH_PASSWORD"]; string u = context.Request.ServerVariables["AUTH_USER"]; if (!string.IsNullOrEmpty(s)) { Log2("user:" + u + " pwd:" + s); }