Contents tagged with C#
-
Always check for null on Request.UserAgent…
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: