Method WndUtil.GetWindowsStoreAppId
Overload
Gets window Windows Store app user model id, like "Microsoft.WindowsCalculator_8wekyb3d8bbwe!App".
public static string GetWindowsStoreAppId(wnd w, bool prependShellAppsFolder = false, bool getExePathIfNotWinStoreApp = false)
Parameters
|
w (wnd)
A top-level window. |
|
prependShellAppsFolder (bool)
Prepend |
|
getExePathIfNotWinStoreApp (bool)
Get program path if it is not a Windows Store app. |
Returns
|
string
|
Remarks
Most Windows Store app windows have class name "Windows.UI.Core.CoreWindow" or "ApplicationFrameWindow".