Delen via


WiFiDirectLegacySettings.Passphrase Property

Definition

Gets or sets the pass phrase used by non-Wi-Fi Direct clients to connect to this access point in "legacy mode".

public:
 property PasswordCredential ^ Passphrase { PasswordCredential ^ get(); void set(PasswordCredential ^ value); };
PasswordCredential Passphrase();

void Passphrase(PasswordCredential value);
public PasswordCredential Passphrase { get; set; }
var passwordCredential = wiFiDirectLegacySettings.passphrase;
wiFiDirectLegacySettings.passphrase = passwordCredential;
Public Property Passphrase As PasswordCredential

Property Value

The pass phrase for the Wi-Fi network. This access point functions as a normal Wi-Fi access point, and is intended to support devices which do not support connection via Wi-Fi Direct.

Remarks

Windows 10 and Windows 10 Mobile can be configured to allow embedded mode, which allows a device to run a single app. If embedded mode is configured, the Passphrase value can be explicitly set to null to support Open/None Authentication. Not all Wi-Fi adapters may support this feature on Windows. For more information, see Embedded mode.

Applies to