Category: Code
This area of the site is dedicated to code snippets for quick and easy reference
C# – Start/Stop/Restart Services
The following method tries to start a service specified by a service name. Then it waits until the service is running or a timeout occurs. The following method tries to stop the specified service and it waits until the service is stopped or a timeout occurs. This method combinates both…
Folder Delete Everything
Careful with this function as it can really do some serious damage if you choose the wrong folder.