Posts Tagged linq

Check if a service is installed with ServiceController using LINQ

If you want to check if a specific NT Service is installed you will need to use the ServiceController class (from System.ServiceProcess). The first problem you will encounter is that the ServiceController has no static method, that would return a Boolean, specifying if the service is installed or not (e.g. ServiceController.IsInstalled(‘MyService’);) – so, to solve [...]

,

No Comments

6 visitors online now
6 guests, 0 members
Max visitors today: 6 at 06:54 am UTC
This month: 9 at 03-03-2010 10:29 am UTC
This year: 27 at 02-25-2010 02:29 am UTC
All time: 27 at 02-25-2010 02:29 am UTC