Browse by Tags

All Tags » C# (RSS)

Always check for null on Request.UserAgent… by joelvarty

Personally, I love the “Browser Capabilities” project on codeplex ( http://browserdetection.codeplex.com/ ) that does a nice job of extracting the actual things that a browser can do, saving you from doing things the following: if (Request.UserAgent.IndexOf...
Filed under: ,
More Posts