The wlanprofile element contains a wireless lan profile. This element is the only root element of the wireless configuration file。
The target namespace for the wlanprofile element is:
Let's go Let's go "lax."
minoccurs=0
"unbound"
namespace means "#other"
i'm sorry
Parent element
Nothing。
Sub-element type desCription
The name of the wlan profile。
Sidconfig
Contains one or more ssids for wireless lan。
Hotspot2
Expand wlan configuration file structure v1 to support hotspot 2. 0 network。
The network is instructed to be infrastructure (“ess”) or provisional (“ibss”)。
Whether the connection to wireless lan is automatically (“automatic”) or is activated by the user (“manual”). This element is optional。
Boolean
A demonstration to identify a network that is automatically connected when the preferred network is in the range. This element is optional and has no influence on the network that the counterparty moves to connect。
Msm
Includes various media-specific module (msm) settings。
Ihv
Includes various settings for independent hardware suppliers。
Macrandomization
Configure the randomization of mac addresses。
Name
Include the name of the wireless lan profile。
Name is case sensitive。
For wireless lan apis with service pack 3 (sp3), windows xp and windows xp service pack 2 (sp2), the name element is ignored when saving the profile in the configuration file. The name of the configuration file is derived from the scid of the network. For the infrastructure network profile, the profile name is the network scid. For the live network profile, the configuration file is called ssid of the spot network, followed by -adhoc. Do not show xml conversion characters such as &. Avoid using xml transliterates in sid names for configuration files deployed using sp3 on windows xp, or using wireless lan api for windows xp and sp2。
For any network profile only for windows vista or windows server 2008, the name may be any string。
Connection type
CoNonactiontype element indicates the mode of operation of the network. Ess values represent infrastructure networks, while ibss means spot networks。
Changemode
CoNneactionmode (wlanprofile) element indicates whether the connection to wireless lan is automatically or is started by the user。
If set to ess, this value can be automatic or manual. If this element is missing, the default value is automatic。
If set to ibss, this value must be manually executed。
"string"
>
The following table describes the values of the count。
Value desCription
Car
Whenever the network is in range, the connection to the wireless network should be automatically activated。
Manual
Connections to the wireless network will only be activated when the user has a visible request。
Autoswitch
A demonstration to identify a network that is automatically connected when the preferred network is in the range. This element is optional。
If autoswitch is "true" and set to "auto", every time a preferred network enters the range, you must try to connect to the preferred network. The preferred network is one that ranks higher in the list of preferred wireless networks. This connection is attempted when you connect to another network。
If set to "auto", this value can be "true" or "false"。
If set to 'manual ', this value must be set to 'false'. This element has no influence on the network that it connects to。
Set the autoswitch value to "true" will lead to more frequent regular scanning of the new network. This may lead to increased radio frequency contamination of these regular scans and increased energy consumption for wireless network adapters。
Windows 7 and windows server 2008 r2: changes to windows 7 and windows server 2008 r2 through installed wireless lan services to optimize wireless network performance. These changes are aimed at reducing radio frequency pollution, energy consumption and disruption of real-time traffic on the wireless network. The default settings for autoswitch have been changed if this element is not set in the wireless lan configuration file. The default settings for windows 7 and the installed wireless lan service windows server 2008 r2 are changed to "false". The default settings for windows server 2008 and windows vista are "true". It is recommended that the value of the autoswitch element used in the wireless lan configuration file be set to 'false' to reduce the frequency of regular scanning of the new network, unless the application sets this value to 'true'. Otherwise, unless it is absolutely necessary for the application to set this value to 'true'。
Windows xp with wireless lan api with sp3 and windows xp do not support this element。
Notes
Most sub-elements of the wlanprofile element are in named spaces. There are two exceptions: the element is in the namespace, oThe nex element is in the namespace。
To view the list of sub-elements in a structure similar to a tree, see the wlan profile structure elements。
Examples
To view the example profile, see the example of the wireless profile。
Request value
Supported minimum client
Windows vista, windows xp with sp3
Desktop application only
Supported minimum server
Windows server 2008
Desktop application only
Reissueable component
Wireless lan api with windows xp with sp2










