How can I detect the user agent in a web service? My web service is implemented using a WCF webservice with basicHTTPBinding. It will be a post from some SOAP clients. I wis
You can read user agent from the HttpContext.Current.Request object if you enable ASP.NET compatibility in web.config: