Inside a page method, how can I get access to the current request object so that I can read the headers?
The method looks like
[System.Web.Services.WebMethod]
public static string MyMethod(string name)
{
}
And lives in an aspx.cs file that inherits from Page
you can use
Request.Headersproperty in your code