WiFi Framework C++ Edition

◆ GetSsid()

tstring GetSsid ( ) const

Gets the Service Set Identifier (SSID).

Returns
A WiFi Direct Advertiser SSID.

This property used in both Legacy and non-Legacy modes. In Legacy mode it is the SoftAP SSID. In non-Legacy mode it is used as device name.

If the Advertiser is running reading the property returns its current value used by the Advertiser. If the property was an empty string reading returns the auto generated SSID (device name) that begins with "DIRECT-".

If the Advertiser is not running reading the property returns its current value.