sharedKey

Defines optional shared key information to be used by this profile to connect to a WLAN.

Element hierarchy

<WLANProfile>
<MSM>
<security>
<sharedKey>

Syntax

<sharedKey>

  <!-- Child elements -->
  keyType,
  protected,
  keyMaterial,
  any element in a non-schema namespace*

</sharedKey>

Key

*   optional (zero or more)

Attributes and Elements

Attributes

None.

Child Elements

Child Element Description
keyMaterial

Defines a network key or pass phrase. If protected is true, then the key material is encrypted; otherwise, the key material is unencrypted. Encrypted key material is expressed in hexadecimal form.

keyType

Defines whether the shared key will be a network key or a pass phrase.

protected

If true, the shared key is encrypted. Otherwise, false.

 

Parent Elements

Parent Element Description
security

Defines various security settings for this profile on a WLAN.

 

Remarks

This element is only required if authentication is WEP, or if encryption is WPAPSK or WPA2PSK.

Requirements

Value
Namespace http://www.microsoft.com/networking/CarrierControl/WLAN/v1