System.Network.Wireless.ssid Property
Gets the Service Set Identifier (SSID) of the wireless network connection.
This property is read-only.
Syntax
propVal = System.Network.Wireless.ssid()
Parameters
- strSSID [out]
Retrieves the SSID.
Remarks
The SSID is also referred to as the "Network Name".
Examples
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;
}
Requirements
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
IDL | Sidebar.idl |
DLL | Sidebar.Exe version 1.00 or later |
See Also
Send comments about this topic to Microsoft
Build date: 2/24/2010
Build type: SDK