摘要: /// <summary> /// 判断程序是否是以管理员身份运行。 /// </summary> public static bool IsRunAsAdmin() { WindowsIdentity id = WindowsIdentity.GetCurrent(); WindowsPrinci 阅读全文
posted @ 2018-06-04 14:24 林海的博客 阅读(518) 评论(0) 推荐(0) 编辑