<%@ Page Language="VB" %>
<script language="VB" runat="server">
Sub Page_Load(ByVal Source As Object, ByVal E As EventArgs)
If Request.Browser.ActiveXControls = True Then
Response.Write("Supporto ActiveX<br>")
End If
If Request.Browser.AOL = True Then
Response.Write("AOL Browser<br>")
End If
If Request.Browser.BackgroundSounds = True Then
Response.Write("Supporta i suoni<br>")
End If
If Request.Browser.Beta = True Then
Response.Write("E' una beta: versione ")
Response.Write(Request.Browser.Beta & "<br>")
End If
If Request.Browser.ClrVersion.ToString <> "0.0" Then
Response.Write("Supporta .NET<br>")
End If
If Request.Browser.Cookies = True Then
Response.Write("Supporta i Cookies<br>")
End If
If Request.Browser.Crawler = True Then
Response.Write("E' un Crawler<br>")
End If
If Request.Browser.Frames = True Then
Response.Write("Supporta i Frames<br>")
End If
If Request.Browser.JavaApplets = True Then
Response.Write("Supporta Java<br>")
End If
If Request.Browser.JavaScript = True Then
Response.Write("Supporta JavaScript: versione ")
Response.Write(Request.Browser.EcmaScriptVersion.ToString & "<br>")
End If
Response.Write("Versione browser " & Request.Browser.Version & "<br>")
Response.Write("MajorVersion " & Request.Browser.MajorVersion & "<br>")
Response.Write("MinorVersion " & Request.Browser.MinorVersion & "<br>")
Response.Write("MSDomVersion " & Request.Browser.MSDomVersion.ToString & "<br>")
Response.Write("W3CDomVersion " & Request.Browser.W3CDomVersion.ToString & "<br>")
Response.Write("Piattaforma " & Request.Browser.Platform & "<br>")
If Request.Browser.Tables = True Then
Response.Write("Supporta le tabelle<br>")
End If
Response.Write("Tipo browser " & Request.Browser.Type & "<br>")
If Request.Browser.VBScript = True Then
Response.Write("Supporta VBScript<br>")
End If
If Request.Browser.Win16 = True Then
Response.Write("Il client è Win16<br>")
End If
If Request.Browser.Win32 = True Then
Response.Write("Il client è Win32<br>")
End If
End Sub
</script>
<html>
<head>
</head>
<body>
<form id="Form1" runat="server">
</form>
</body>
</html>