HttpRequest.Browser - get browser name, version in asp.net c#

HttpRequest.Browser Property - get Browser name, version
GetBrowserInfoExample.aspx

<%@ Page Language="C#" %>

<!DOCTYPE html>

<script runat="server">
    protected void Page_Load(object sender, System.EventArgs e) {
        Label1.Text = "Your Browser Name: " + Request.Browser.Browser;
        Label1.Text += "<br />Browser Version: " + Request.Browser.Version;
        
    }
</script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>asp.net Request.Browser example: how to get Browser name, version</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <h2 style="color:Red">Example: Get Browser Information</h2>
        <asp:Label ID="Label1" runat="server" Font-Size="Large" ForeColor="Teal" Font-Italic="true">
        </asp:Label>
    </div>
    </form>
</body>
</html>
More asp.net example