why does WlanQueryInterface API response varies with command line output for wifi profile?

  Kiến thức lập trình

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.
enter image description here

win32 API response from console app
enter image description here

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

LEAVE A COMMENT