Get current user in WinRT

前端 未结 1 1528
孤城傲影
孤城傲影 2021-01-06 09:57

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

So how d

1条回答
  •  南笙
    南笙 (楼主)
    2021-01-06 10:25

    Windows.System.UserProfile.UserInformation.

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

    0 讨论(0)
提交回复
热议问题