. . . "I often had the need to make sure that my application only runs once on a particular pc at any one time, especially with applications that utilise a serial port for instance.I have created a simple static class with a method that will check if a process with the same name is already running and if so close the most recent instance of the..." .