我是一名 C# 开发人员,我已经习惯了旧的 Environment.CurrentUser
.现在我需要在我的 Windows 8 Metro 应用程序 (html & js) 中使用它.
I'm a C# developer and I'm used to the good old Environment.CurrentUser
. Now I need exaclty that in my Windows 8 Metro app (html & js).
那么我该如何获得呢?
Windows.System.UserProfile.UserInformation
.
还有一个使用这个类的例子,帐户图片名称样本.
There's also an example that uses this class, the Account picture name sample .
上一篇:在 Windows 8 桌面应用程序中获取位置应用程序、桌面、位置、Windows
下一篇:WPF RibbonWindow + Windows 8 - 控制框看起来很糟糕很糟糕、WPF、RibbonWindow、Windows