WLAN_SECURITY_ATTRIBUTES structure (wlanapi.h)

The WLAN_SECURITY_ATTRIBUTES structure defines the security attributes for a wireless connection.

Syntax

typedef struct _WLAN_SECURITY_ATTRIBUTES {
  BOOL                   bSecurityEnabled;
  BOOL                   bOneXEnabled;
  DOT11_AUTH_ALGORITHM   dot11AuthAlgorithm;
  DOT11_CIPHER_ALGORITHM dot11CipherAlgorithm;
} WLAN_SECURITY_ATTRIBUTES, *PWLAN_SECURITY_ATTRIBUTES;

Members

bSecurityEnabled

Indicates whether security is enabled for this connection.

bOneXEnabled

Indicates whether 802.1X is enabled for this connection.

dot11AuthAlgorithm

A DOT11_AUTH_ALGORITHM value that identifies the authentication algorithm.

dot11CipherAlgorithm

A DOT11_CIPHER_ALGORITHM value that identifies the cipher algorithm.

Requirements

Requirement Value
Minimum supported client Windows Vista, Windows XP with SP3 [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header wlanapi.h
Redistributable Wireless LAN API for Windows XP with SP2

See also

WLAN_CONNECTION_ATTRIBUTES