【发布时间】:2014-11-02 12:14:42
【问题描述】:
我有 Windows 应用商店应用程序 (Win RT),我需要获取当前用户的域名。这是我的代码:
name = await Windows.System.UserProfile.UserInformation.GetDomainNameAsync();
但我得到了例外:
Win RT: Caller does not have the EnterpriseAuthentication capability
如果我没有物理设备并且在 VS 中工作,我需要做什么来修复它?
【问题讨论】:
标签: c# windows-8 winrt-xaml kiosk kiosk-mode