32 public static int Main(
string[] args)
42 Console.Write(
"Enter server name: ");
43 server_name = Console.ReadLine();
47 server_name = args[0];
54 Console.WriteLine(ex.Message);
58 Console.Write(
"\nPress any key to close the example");
Provides a class of shared constants and methods for gclib's example projects.
const int GALIL_EXAMPLE_OK
Examples success code.
const int GALIL_EXAMPLE_ERROR
Examples error code.
static int Main(string[] args)
Main function for the Remote Server example.
Demonstrates various uses of GPublishServer()
static int Remote_Server(string server_name)
Accepts user input to publish or remove local gcaps server from the network.