Created
May 9, 2014 07:45
-
-
Save ionoy/b7b1c516345a2d51f8a0 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
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
using (var host = CommunicationHelpers.CreateHost<UAVControl>(hostSuffix: args.Length > 0 ? args[0] : "")) { | |
host.Open(); | |
Console.WriteLine("Service is available. Press <ENTER> to exit."); | |
Console.ReadLine(); | |
host.Close(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment