- Write windows Event Log
Use Windows Event log to ensure that your app is working as expected. Useful in notifying the System Administrator, in case some failures or important events occur.
- Single Instance of Your Application
You can prevent multiple instances of your application by using Mutex. This ensures that your application is having only one instance at a time, preventing it from any unexpected outcomes
3.Use Environment Variables
With .NET, we have a class which lets us access all system information. OS version, CLR version, user name, values of system variables such as the temp folder, physical memory mapped to your app etc.
Any suggestions are welcomed