I am developing a very Basic licensing Software for a particular product. The product has already been developed and no changes can be made to the product now. So i have created my own exe that runs in the background and checks if the hardware dongle is connected. Only if the dongle is connected should that particular application open up. My queries are,
1. How do i check if a particular exe is opened by the user.
2. Can i Pause the running of the exe for some time, do my checks and resume the opening up of the exe after a while.
Is this the right approach. Could someone shed more light on the same.
Thanks in advance