WiFi Framework
ContentsIndexHome
PreviousUpNext
TwclWiFiConnectFlag Enumeration

Flags used to specify the connection parameters.

Syntax
Pascal
TwclWiFiConnectFlag = (
  cfHiddentNetwork,
  cfAdHocJoinOnly,
  cfIgnorePrivacyBit,
  cfEapolPassThrough,
  cfPersistDiscoveryProfile,
  cfPersistDiscoveryProfileConnectionModeAuto,
  cfPersistDiscoveryProfileOverwriteExisting
);
Members 
Description 
cfHiddentNetwork 
Connect to the destination network even if the destination is a hidden network. A hidden network does not broadcast its SSID. Do not use this flag if the destination network is an ad-hoc network.
If the profile specified by Profile is not an empty string, then this flag is ignored and the nonBroadcast profile element determines whether to connect to a hidden network.
 
cfAdHocJoinOnly 
Do not form an ad-hoc network. Only join an ad-hoc network if the network already exists. Do not use this flag if the destination network is an infrastructure network.  
cfIgnorePrivacyBit 
Ignore the privacy bit when connecting to the network. Ignoring the privacy bit has the effect of ignoring whether packets are encrypted and ignoring the method of encryption used. Only use this flag when connecting to an infrastructure network using a temporary profile.  
cfEapolPassThrough 
Exempt EAPOL traffic from encryption and decryption. This flag is used when an application must send EAPOL traffic over an infrastructure network that uses Open authentication and WEP encryption. This flag must not be used to connect to networks that require 802.1X authentication. This flag is only valid when Mode is set to cmTemporaryProfile. Avoid using this flag whenever possible.  
cfPersistDiscoveryProfile 
Automatically persist discovery profile on successful connection completion. This flag is only valid for cmDiscoverySecure or cmDiscoveryUnsecure. The profile will be saved as an all user profile, with the name generated from the SSID. If there is already a profile with the same name, a number will be appended to the end of the profile name. The profile will be saved with manual connection mode, unless cfPersistDiscoveryProfileConnectionModeAuto is also specified.  
cfPersistDiscoveryProfileConnectionModeAuto 
To be used in conjunction with cfPersistDiscoveryProfile. The discovery profile will be persisted with automatic connection mode.  
cfPersistDiscoveryProfileOverwriteExisting 
To be used in conjunction with cfPersistDiscoveryProfile. The discovery profile will be persisted and attempt to overwrite an existing profile with the same name.  
Copyright (c) 2006-2019. All rights reserved.