I want develop an UWP app use to login to paid wifi. So I have refered to NetworkOperatorHotspotAuthenticationTrigger. When I register background task with that trigger, I was received "Access is denied".
Has anyone done it?
As it is declared in NetworkOperatorHotspotAuthenticationTrigger class :
Note An app can only instantiate this object and register for the hotspot authentication event after a WLAN profile has been provisioned that references this app to handle hotspot authentication.
So please make sure you have provisioned a WLAN profile with a corresponding configuration before using this class. If not, you will get Access is denied.
error while registering.
For more info, please see Integrating Windows with wireless hotspots and Wi-Fi hotspot authentication sample .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.