Check Browser version and name (VB.net)
<%@ Page Language="VB" %>
<script language="vb" runat="server">
Sub Page_Load(Source As Object, E as EventArgs)
If Not IsPostBack Then
If Request.Browser.Browser = "IE" Then
If Request.Browser.MajorVersion < 6 Then
MyLabel.Text = "Time to upgrade Internet Explorer!"
Else
MyLabel.Text = "Your copy of Internet Explorer is up to date."
End If
Else
MyLabel.Text = "You're not using Internet Explorer"
End If
End If
End Sub
</script>
<html>
<body>
<asp:Label id=MyLabel runat="server" Text=""/>
</body>
</html>
Related examples in the same category