Forum Discussion

leftjeff's avatar
leftjeff
Copper Contributor
Jan 12, 2022

determine WPA2 enterprise EAP type for existing wifi network

I have working C++ code using wlanapi that connects to a WPA2 enterprise wifi network using EAP type 21, EAP-TTLS. However, this obviously won't work for wifi networks with other EAP types. How can the EAP type be determined programmatically for an existing wifi network?

The windows 10 OS is able to do this: When you first connect, a profile is created. Using the netsh command line utility the profile XML can be exported to a file, where the correct EAP type can be found.

No RepliesBe the first to reply

Resources