I'm trying to port an old Windows Forms desktop application to the new'n tasty Windows Store Apps technology.
The app in particular stays listening to an UDP socket to receive little packets in an specific port, the function is quite simple.
The Forms application has no Window (I hide it), only remaining a taskbar icon (In Forms is the NotifyIcon class) from where the user selects to exit the application or tweaking the settings, serving as a reminder that the application is running. It works wonderfully.
Now, the problem is that with the introduction of the App lifecycle to the Store Apps I'm wondering that it would be nonsense, although impossible, to try to put a taskbar icon on W8.1+. I am wrong? Is there such function in the new WinRT?
Doing an extensive research I found that ScreenLock Apps are allowed to remain listening to connections after the user approve it to do so. Would be that the right alternative for the NotifyIcon?
I'm a traditional windows developer, so right now i'm dealing with the big UI paradigm change, the new namespaces for the WinRT classes, the new controls, and lots of changes that are coming with the new Windows technology, so I'm a little disoriented at this point.
Anyone could point me some directions to get a permanent connected app listening via UDP?
Thank you for sharing your time with me :)
Aucun commentaire:
Enregistrer un commentaire