| gclib 1.34.15 Communications API for Galil controllers and PLCs |

## ◆ Main()

static int Main | ( | string[] | args | ) |
| inline static

Main function for the IP Assigner example.

Parameters

  args | An 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, Examples.IP_Assigner(), and Examples.PrintError().