This topic has not yet been rated - Rate this topic

HttpBrowserCapabilities.Win32 Property

.NET Framework 1.1

Gets a value indicating whether the client is a Win32-based computer.

[Visual Basic]
Public ReadOnly Property Win32 As Boolean
[C#]
public bool Win32 {get;}
[C++]
public: __property bool get_Win32();
[JScript]
public function get Win32() : Boolean;

Property Value

true if the browser client is a Win32-based computer; otherwise, false. The default is false.

Example

Code in the following example executes only if the client browser is a Win32-based computer.

[Visual Basic] 
If Request.Browser.Win32 = True Then
   ' ...
 End If
   

[C#] 
if (Request.Browser.Win32 == true)
 {
    //...
 }
   

[C++] 
if (Request->Browser->Win32)
 {
    //...
 }
   

[JScript] 
if(Request.Browser.Win32){
   // ...
 }
   

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpBrowserCapabilities Class | HttpBrowserCapabilities Members | System.Web Namespace

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.