am developing a windows store 8.1 app using C# and xaml.
In my app i want to find logged in user name from Windows Registry.
How can i get that from C# code?
Anybody please help me.
Regards,
Santhosh
You can find the user name in HKEY_CURRENT_USER\Volatile Environment\USERNAME.
However, I'm pretty sure you won't be able to access this from a Windows Store App.
I'd suggest looking at the UserInformation.GetDomainNameAsync method or other methods in the UserInformation class instead.
Related
I'm developing a windows store 8.1 app using C# and xaml. I'm authenticating the user with Windows Azure Active directory sign on. When i connect to the service, by default log in screen will look like below.
But i want to display it like the below, somebody has done the customization like below, how to do this?
How can i customize the screen like this?
Any help on this please?
Thanks in advance
The customization shown in your screenshot cannot be achieved on the azure ad pages. In case in which your tenant is federated, you can customize the page displayed by ADFS.
I am a developer who is new to Windows Store development.
I wrote one Windows Store App and tried to upload it, yet I encounter some errors after submit the appxupload file.
The error messages are shown as below:
I have no idea how to make my developer account authorized to publish apps with the capability it mentioned. Is there a different set of capability for different developer account for Windows Store Application?
Can anyone tell me how to fix this?
Thank you!
Im' wondering if there is a way to post to apps with the same name at the Windows Phone Store, as is suggested in the post linked below:
Is there a way to implement custom in app upgrade in windows phone 7?
Does someone know how they did this thing of "posting one private and one public, with the same name"? Or they didn't do that?
Thanks in advance
Is there a way to get info about particular app such as number of downloads, some kind of statistics etc., not being its owner. I am wondering whether exists any API to get information from Windows Phone Market? Thank you in advance. Last concern : is it enable to use another ad on windows phone than microsoft advertising? Will such app be approved on market?
Unfortunately there is no such Api to Access these things.
In my application, i want to do some task if there is PARTICULAR APPLICATION installed in windows phone.
Is there any way using which we can verify that either application in installed or not ?
for example, can i determine through some code that either facebook messenger is installed or not ?
Currently i don't have any clue about how to accomplish that.
If anyone knows then please share it.
thank you in advance.
There is no way to get the list of all installed applications on the phone currently. You may access only those that are by the same publisher ID using:
InstallationManager.FindPackagesFromCurrentPublisher.
Returns all the app packages with the same publisher ID as the app calling this method.