diff --git a/Program.cs b/Program.cs index cf1f390..8815fb1 100644 --- a/Program.cs +++ b/Program.cs @@ -209,7 +209,7 @@ namespace domain_utility private static void StartPing() { - Console.Write("\nВведите IP адрес компьютера или имя компьютера (пр. 10.234.16.129): "); + Console.Write("\nВведите IP адрес или имя компьютера (пр. 10.234.16.129): "); string host = Console.ReadLine().Trim(); if (host == string.Empty || host.Length == 0) { @@ -266,7 +266,7 @@ namespace domain_utility OpenComputerCups(); return; } - + if (!IsStringContainIp(remote)) { remote = СheckComputerName(remote);