TwclWiFiConnectFlag Enumeration

Flags used to specify the connection parameters.

Namespace: wclWiFi
type
 TwclWiFiConnectFlag = (
 cfHiddentNetwork,
 cfAdHocJoinOnly,
 cfIgnorePrivacyBit,
 cfEapolPassThrough,
 cfPersistDiscoveryProfile,
 cfPersistDiscoveryProfileConnectionModeAuto,
 cfPersistDiscoveryProfileOverwriteExisting
 );

The TwclWiFiConnectFlag type exposes the following members.

Show:
 NameDescription
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.

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.

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.

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.

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.

Top