The following forum(s) have migrated to Microsoft Q&A (Preview): Developing Universal Windows apps!
Visit Microsoft Q&A (Preview) to post new questions.

Learn More

[UWP]How to minimize UWP app programmatically? RRS feed

All replies

  • Hi,

    There is a new API introduced in Build 1803 that could minimize UWP app-AppResourceGroupInfo.StartSuspendAsync Method.

    Use it like this:

    IList<AppDiagnosticInfo> infos = await AppDiagnosticInfo.RequestInfoForAppAsync();
    IList<AppResourceGroupInfo> resourceInfos = infos[0].GetResourceGroups();
    await resourceInfos[0].StartSuspendAsync();
    But please notice that, this API requires the 'appDiagnostics' capability in your manifest.

    Best regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Monday, August 26, 2019 2:02 AM