Jho*_*rra 9 wpf wcf-security
我有一个小的应用程序,我建立,监视提交的票证.它基本上只是坐在角落里,并在新票到达时通知.我需要获取登录计算机的用户名来取票.
我试着搜索,但我认为我使用了错误的术语,因为我找不到任何东西.
SLa*_*aks 21
你正在寻找这家Environment.UserName酒店.
Environment.UserName
您也可以寻找Environment.UserDomainName酒店.
Environment.UserDomainName
Jou*_*aas 5
尝试 System.Security.Principal.WindowsIdentity.GetCurrent().Name
System.Security.Principal.WindowsIdentity.GetCurrent().Name
归档时间:
15 年,8 月 前
查看次数:
12898 次
最近记录: