Home > other >  New people for help. The Native Wifi Api programming of Wifi Profile is invalid.
New people for help. The Native Wifi Api programming of Wifi Profile is invalid.

Time:10-05

Recent want to programmatically connect wireless networks, then start to learn Native WIfi Api.
I constructed ProfileXML code, as follows:



Below are presented on the MSDN connected ProfileXML example:



But the use of tested WlanSetProfile returns: "according to the framework, the configuration file is invalid,"
Then use WlanConnect connect (), adopt the Temporary_Profile mode, will return ERROR_BAD_PROFILE
It seems the problem on my Profile
But I really really don't see me to write the XML where there is a problem,,,
I also through online XML validator to check the grammar is also no problem,
So please everyone a great god, glad to help the younger brother to solve this problem,


  • Related