ConnectionType Property (.NET)

 

Type: String

 

Returns a string indicating the type of network connection the visitor is using. Possible return values are "lan", "modem", "offline" and an empty string if not detectable.

 

The ConnectionType property is limited to IE 5 and higher on Windows. You can test browsers other than IE and generally obtain more accurate results by using the Broadband property instead. See Detecting Connection Speed and Dialup Users for more information.

 

Note: Use of this property requires the Professional or Enterprise Edition of BrowserHawk.

 

Special notes for this property:

 

C# Example:

<%

ExtendedOptions options = new ExtendedOptions();

options.AddProperties("ConnectionType");

ExtendedBrowserObj extBrow = BrowserObj.GetExtendedBrowser(options);

%>

<html>

ConnectionType: <% Response.Write(extBrow.ConnectionType); %>

</html>

 

See Also:

Broadband Property (.NET)

ConnectionSpeed Property (.NET)