command line response gives below output while WlanQueryInterface API response gives different output for same wifi profile. Authentication algorithm is different for same wifi profile.
win32 API response from console app
Win API ref: https://learn.microsoft.com/en-us/windows/win32/api/wlanapi/nf-wlanapi-wlanqueryinterface
Why is the authentication values different for same wifi profile?
win32 API:- RSNA with PSK while command line:-WPA2-Personal