摘要:
using System;using System.Collections.Generic;using System.Text;using System.Data.SqlClient;using System.Data;using System.Management;using System.Net;using System.Windows.Forms;#region //獲取當前操作的主機名 public string GetHostName() { return System.Net.Dns.GetHostName(); } #endregion #region //取得當前操作主機的IP 阅读全文