Broadband Property (.NET)

 

Type: Boolean

 

Returns True if the visitor is using a broadband connection such as DSL, cable, T1 or other high-speed internet connectivity. Otherwise it returns False.

 

Tip: See the section on Detecting Connection Speeds and Dial-up Users for a detailed discussion of the advantages and disadvantages of using this property compared to the ConnectionSpeed and ConnectionType properties.

 

C# Example 1:

In this example we check to see if the visitor is on a broadband connection. If so we redirect them to a different page on the site:

<%

ExtendedOptions options = new ExtendedOptions();

options.AddProperties("Broadband");

ExtendedBrowserObj extBrow = BrowserObj.GetExtendedBrowser(options);

if (extBrow.Broadband == false)

Response.Redirect("/slowpage.aspx");

%>

<html> Page for broadband users goes here </html>

 

Example 2:

In this example we check to see if the visitor is on a broadband connection. If so we dynamically send Flash content to the browser, otherwise we send a static image.

<%

ExtendedOptions options = new ExtendedOptions();

options.AddProperties("Broadband");

ExtendedBrowserObj extBrow = BrowserObj.GetExtendedBrowser(options);

%>

<html>

<% if (extBrow.Broadband == true) { %>

<!-- send Flash -->

<OBJECT classid="clsid … Code for Flash object goes here …">

<% } else { %>

<!-- send static image -->

<img src="alternativeImageInsteadOfFlash.jpg">

<% } %>

</html>

 

Special notes for this property:

 

See Also:

Detecting Connection Speeds and Dial-up Users

ConnectionSpeed Property (.NET)

ConnectionType Property (.NET)

GetEstDownloadTimeDesc Method (.NET)

GetEstDownloadTimeSec Method (.NET)