ssid Property

Gets the Service Set Identifier (SSID) of the wireless network connection.

Syntax

[ strSSID = ] System.Network.Wireless.ssid

Possible Values

strSSIDString that receives the SSID.

The property is read-only. The property has no default value.

Remarks

The SSID is also referred to as the "Network Name".

Example

The following example demonstrates how to listen for the connectionChanged event.

var oGadgetDocument = System.Gadget.document;
System.Network.Wireless.connectionChanged = ConnectionChanged;

// --------------------------------------------------------------------
// Display the network SSID.
// --------------------------------------------------------------------
function ConnectionChanged()
{
    oGadgetDocument.getElementById("strFeedback").innerText = "SSID: " + System.Network.Wireless.ssid;
}

Applies To

System.Network.Wireless
Tags :


Page view tracker