I would like to know if using HttpBrowserCapablilties that i got from HttpContext.Request.Browser is the best way for me to check if the request is coming from a windows desktop machine and is not a mobile device.
See below for example of how i am using it.
public static bool IsWindowsDesktop(this HttpBrowserCapabilities browser)
{
return string.Equals(browser.Platform, "WinNT") && browser.IsMobileDevice;
}