c# - Windows.System.UserProfile.UserInformation.NameAccessAllowed always returns False on windows phone 8.1 -
i trying retrieve user name of user running application on windows phone.
if (userinformation.nameaccessallowed == true) { msg.append("" + await userinformation.getfirstnameasync()); msg.append(" " + await userinformation.getlastnameasync()); } it homecoming false. using business relationship have first , lastly name on device. should work. there secret settings add together application manifest or not work on phone.
c# windows-phone windows-phone-8.1
No comments:
Post a Comment