Holla, I’ve been working on a kind of useless bug that took me a long time to fix. The problem was that when the app was enabled to start automatically, you could still disable it from task manager. The bad thing is, I had no way of knowing if it was enabled or disabled from task manager, so I build one, and after that, I wanted a way to get notified when the user changed the disabled/enabled state, so I used a function named RegNotifyChangeKeyValue witch I’ve configured to notify the app when ICare’s state changed. I created a hole separate class for that named AutostartWatcher.cs, and it works flawlessly!
Thanks for reading!
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.