And there is an update to automatic deny app.
The update is that the whole app logic is made as windows service and the exe file is just used for setup the service.
There is a need of a service because some of the developers used to log off from the machine and the exe stop working.
You can clone the whole c# code from here
Hope you like it!