摘要:
using System;using System.IO;using System.Diagnostics;public static bool Ping(string remoteHost) { bool Flag = false; Process proc = new Process(); try { proc.StartInfo.FileName = "cmd.exe... 阅读全文
摘要:
System.Configuration.AppSettingsReader configurationAppSettings = new System.Configuration.AppSettingsReader();ServerIP = configurationAppSettings.GetValue("ServerIP",typeof(string)).ToString();Server... 阅读全文