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".
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.
As it is declared in NetworkOperatorHotspotAuthenticationTrigger class:
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.