摘要: public int GetWindowsServiceStartType(String sServiceName) //判断服务状态是手动还是禁用还是自动 { string sState = ""; try { System.Diagnostics.Proc... 阅读全文
posted @ 2018-04-25 17:21 enych 阅读(251) 评论(0) 推荐(0)
摘要: private void button1_Click(object sender, EventArgs e) { string info = ""; string info1 = ""; RegistryKey Key; Key = Registry.LocalMachine; /... 阅读全文
posted @ 2018-04-25 16:53 enych 阅读(148) 评论(0) 推荐(0)