Skip to content

Instantly share code, notes, and snippets.

@ionoy
Created May 9, 2014 07:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ionoy/b7b1c516345a2d51f8a0 to your computer and use it in GitHub Desktop.
Save ionoy/b7b1c516345a2d51f8a0 to your computer and use it in GitHub Desktop.
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