Windows phone: how get current application id

xander27 picture xander27 · May 18, 2012 · Viewed 7.4k times · Source

Is there any way to get ID of my application in app store without hardcode? I need to use this value it self, so this way http://forums.create.msdn.com/forums/p/88847/533072.aspx will not help.

Answer

Mohamed Osama Ahmed picture Mohamed Osama Ahmed · Apr 2, 2014

try this : var appId = Windows.ApplicationModel.Store.CurrentApp.AppId; it's documentation here