<%@ Page Language=VB Debug=true %>
<script runat=server>
Sub Page_Load(ByVal Sender as Object, ByVal E as EventArgs)
Dim BCaps As HttpBrowserCapabilities
BCaps = Request.Browser
lblMessage.Text = "Operating System: " _
& BCaps.Platform & "<BR>" _
& "Is OS Windows 16-bit based: " _
& BCaps.Win16 & "<BR>" _
& "Is OS Windows 32-bit based: " _
& BCaps.Win32 & "<BR>"
End Sub
</SCRIPT>
<HTML>
<HEAD>
<TITLE>Browser OS</TITLE>
</HEAD>
<form runat="server">
<asp:label
id="lblMessage"
font-size="12pt"
font-name="Tahoma"
runat="server"
/>
</form>
</BODY>
</HTML>
|