Last active
August 29, 2015 13:56
-
-
Save hobblygobbly/9159295 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.ServiceProcess; | |
namespace AStarAlgorithm | |
{ | |
static class Program | |
{ | |
[STAThread] | |
static void Main() | |
{ | |
ServiceController sc1 = new ServiceController("IP Helper"); | |
ServiceController sc2 = new ServiceController("Smart Card"); | |
Console.WriteLine(sc1.Status); | |
Console.WriteLine(sc2.Status); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment