NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HttpBrowserCapabilities.Type

Returns the name of the client browser and its major version number. For example, "Microsoft Internet Explorer version 5".

[Visual Basic]
Overridable Public ReadOnly Property Type As String
[C#]
public string Type {virtual get;}
[C++]
public: __property virtual String* get_Type();
[JScript]
public function get Type() : String;

Example [Visual Basic]

[Visual Basic]

<%
' This example writes a string to the Http output only if the
' browser is Microsoft Internet Explorer version 5.
If Ucase(Request.Browser.Type) = "IE5" Then
   Response.Write "Browser is Internet Explorer Version 5" & "<br>"
End If
%>

See Also

HttpBrowserCapabilities Class | HttpBrowserCapabilities Members | System.Web Namespace