Page 1 of 1

Check if process is UWP application.

PostPosted:Thu May 02, 2019 7:29 am
by Iradicator
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 !

Re: Check if process is UWP application.

PostPosted:Sun May 19, 2019 2:23 pm
by EP_X0FF
Make a powershell script that runs C#, no?

Re: Check if process is UWP application.

PostPosted:Thu Jun 13, 2019 8:19 pm
by Brock
@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