获取WinRT中的当前用户 [英] Get current user in WinRT

查看:65
本文介绍了获取WinRT中的当前用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是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).

那我怎么得到它?

推荐答案

还有一个使用此类的示例,帐户图片名称样本 .

There's also an example that uses this class, the Account picture name sample .

这篇关于获取WinRT中的当前用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆