WiFi Framework
ContentsIndexHome
PreviousUpNext
CwclWiFiDirectAdvertiser::GetPassphrase Method

Gets the pass phrase for Legacy mode.

Syntax
C++
tstring GetPassphrase();

A pass phrase used by non-WiFi Direct clients to connect to this access point in "legacy mode".

This property is used only if Legacy mode set to True. If the Legacy is False the value of the property will not be used.  

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

If the Advertiser is running and the Legacy is True reading the property returns its current value used by the Advertiser. If the value of the property was an empty string reading from the property returns auto generated random pass phrase used by the Advertiser. If the Legacy is False reading returns an empty string.  

 

Copyright (c) 2006-2019. All rights reserved.