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;
[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 %>
HttpBrowserCapabilities Class | HttpBrowserCapabilities Members | System.Web Namespace