Get client browser version in C# (When IE Compatibility mode enabled) RRS feed

  • Question

  • We need to know client's browser version from C# code (Server side). We use Request.Browser or HTTP_USER_AGENT to get the details. However, In IE when compatibility mode is enabled it always returns IE 7 version irrespective of version of IE. ie, even in IE 11 when compatibility mode enabled it returns IE 7 but I want actual version which is IE 11. Is there any way I can get actual IE version?
    • Moved by Caillen Tuesday, March 3, 2015 9:41 AM
    Monday, March 2, 2015 7:02 AM


All replies

  • Please post questions related to ASP.NET in the ASP.NET forums (http://forums.asp.net ).
    • Proposed as answer by Caillen Tuesday, March 3, 2015 9:41 AM
    • Marked as answer by Just Karl Thursday, April 9, 2015 8:56 PM
    Monday, March 2, 2015 4:31 PM
  • this is a c# forums section, you can post in the asp.net forums:>


    Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP]

    Monday, March 2, 2015 4:42 PM