wpf - Event Triggered Toast Notification UWP -
idea:i automating wifi login particular network user have enter credentials poping toast notification alarm app instead of snooze or dismiss button there login or logout. issue:how trigger toast notification when user connect particular wifi network?
you need use background task getting triggered system event - in case networkstatechanged
trigger.
here list of available triggers:
and here quick introduction how respond such system event:
you can check if want show toast using windows.networking.connectivity.networkinformation.getinternetconnectionprofile()
look @ question https://stackoverflow.com/a/32846558/5111904 or documentation of networkinformation class further information.
Comments
Post a Comment