How to find The System is 16 Bit or 32 Bit Windows OS in ASP DOT NET

Posted by Chikul under ASP.NET category on | Views : 1655
Whether the client is Win16 or Win32 based computer

Protected Sub btnWindowsOS_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnWindowsOS.Click
If Request.Browser.Win16 = True Then
Label1.Text = "My System is 16 Bit Windows OS"
ElseIf Request.Browser.Win32 = True Then
Label1.Text = "My System is 32 Bit Windows OS"
End If
End Sub

Comments or Responses

Login to post response