I have the exe for the project im working on signed by a digital signature which means when it asks for admin rights it shows the company name. This works very well but if you modify the exe it will still work and show unknown there instead.
Is there a way to check the digital signature to see if it is valid when you run the exe to avoid modified versions running?
Visual studio 2008 windows 7