keyType (sharedKey) Element

The keyType (sharedKey) element indicates whether the shared key will be a network key or a pass phrase.

<xs:element name="keyType">
    <xs:simpleType>
        <xs:restriction
            base="string"
        >
            <xs:enumeration
                value="networkKey"
             />
            <xs:enumeration
                value="passPhrase"
             />
        </xs:restriction>
    </xs:simpleType>
</xs:element>

The element is defined by the sharedKey element.

Remarks

When the encryption element has a value of WEP, keyType must be set to networkKey.

Examples

To view sample profiles that use the keyType element, see Non-Broadcast Profile Sample, WPA-Personal Profile Sample, and WPA2-Personal Profile Sample.

Requirements

Minimum supported client
Windows Vista, Windows XP with SP3 [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Redistributable
Wireless LAN API for Windows XP with SP2

See also

Definition context of element in schema

sharedKey

Possible immediate parent element in schema instance

sharedKey (security)