摘要: static bool CheckPortAvailable(int port) { bool isAvailable = true; IPGlobalProperties ipGlobalProperties = IPGlobalProperties.GetIPGlobalProperties(); foreach (var tcplisten in ipGlobalProperties.GetActiveTcpListeners()) { if (tcpli... 阅读全文
posted @ 2013-10-15 11:19 花生!~~ 阅读(329) 评论(0) 推荐(0) 编辑