首页  编辑  

获得用户的Windows登陆名

Tags: /C#/系统相关/   Date Created:

using System . Security . Principal;

Text = WindowsIdentity . GetCurrent( false ) . Name;