ASP.NET(vb.net) Request.Browser.Browser() - Request Object - Request.Browser.Browser() : Gets the browser string (if any) that was transmitted in the User-Agent header.
ShotDev Focus:
- ASP.NET(vb.net) Request.Browser.Browser() - Request Object
Example
AspNetRequestBrowserBrowser.aspx
<%@ Page Language="VB" %> <script runat="server"> Sub Page_Load(sender As Object, e As EventArgs) Me.lblText.Text = Request.Browser.Browser().ToString End Sub </script> <html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <form runat="server"> <asp:Label id="lblText" runat="server"></asp:Label><br> </form> </body> </html>
Screenshot