gclib  2.0.8
Communications API for Galil controllers and PLCs

◆ Main()

static int Main ( string[]  args)
inlinestatic

Main function for the IP Assigner example.

Parameters
argsAn array of command line arguments.
Returns
The success status or error code of the function.

The first argument should be the Serial # of a Galil Controller.
The second argument should be a 1 Byte value that will be used as the final byte in the newly assigned IP Address.

Definition at line 35 of file ip_assigner_example.cs.

References Examples.GALIL_EXAMPLE_ERROR, Examples.GALIL_EXAMPLE_OK, gclib.GClose(), Examples.IP_Assigner(), and Examples.PrintError().