A forum for reverse engineering, OS internals and malware analysis 

Forum for discussion about user-mode development.
 #32886  by Iradicator
 Thu May 02, 2019 7:29 am
Hi,

I'd like to have a script or command line way to check if a process is UWP app.
basically I'm looking for the synonym for C++ API of `GetCurrentPackageId` from windows SDK.

Thanks !
 #32998  by Brock
 Thu Jun 13, 2019 8:19 pm
@Iradicator

You can use DllImport in PowerShell for Windows API and make a call to IsImmersiveProcess()

https://docs.microsoft.com/en-us/window ... iveprocess

It will tell you if the target process is a Windows Store app / Metro app / WinRT app / UWP app etc. Whatever it is that Microsoft calls them now