|
static void | Main (string[] args) |
|
Definition at line 28 of file Program.cs.
static void Ntp.Analyzer.Monitor.Cli.Program.Main |
( |
string[] |
args | ) |
|
|
inlinestatic |
Definition at line 30 of file Program.cs.
32 if (args.Length >= 1 && args[0] ==
"help")
46 if (!IPAddress.TryParse(args[0], out address))
48 Console.WriteLine(
"IP address is not valid.");
55 if (!
int.TryParse(args[1], out port))
57 Console.WriteLine(
"Port number is not valid.");
62 string command = args[2];
65 string result = req.Send(command);
static void Ntp.Analyzer.Monitor.Cli.Program.ShowUsage |
( |
| ) |
|
|
inlinestaticprivate |
Definition at line 70 of file Program.cs.
72 Console.WriteLine(
"NTP Analyzer command query tool.");
73 Console.WriteLine(
"Usage: ntpac host port command");
The documentation for this class was generated from the following file: