the System.Net the using;
Dns.GetHostName () // Get the local computer name
string sql = "select GETDATE () "; Get server time
Access to the local computer name
Guess you like
Origin www.cnblogs.com/zhujie-com/p/12147922.html
Ranking