The more recent Windows “Native Wifi” provides a better way to access the Wifi credentials as it is the front end of any API call to automatically configure component configures, to connect or disconnect from / to a Wifi network. Further, Windows Native Wifi can store profiles on the networks it interacts with in the form of XML documents.
Windows uses the WLAN_profile Schema to define each WLAN's profile using the following XML elements:
- SSID - Both plain text and HEX versions can be found and contain the SSID of a wireless LAN.
- name - The 'name' element is the SSID in the form of plan text.
- authentication - The 'authentication' element specifies the authentication method to be used.
- encryption - The 'encryption' element specifies the type of data encryption to be used.
- keyMaterial - The 'keyMaterial' element contains a network key or passphrase. If the protected element has a value of TRUE, then this key material is encrypted; otherwise, the key material is unencrypted. Encrypted key material is expressed in hexadecimal form.