Beispiel #1
0
        // Token: 0x06000008 RID: 8 RVA: 0x0000253C File Offset: 0x0000073C
        internal static void OpenAppsInSandboxMode(bool shouldRelaunch)
        {
            string sandbox = SandboxHelper.GetSandbox();
            string text    = (!sandbox.Equals("RETAIL", StringComparison.CurrentCultureIgnoreCase)).ToString().ToLower();

            SandboxHelper.OpenApp("Xbox App", string.Concat(new string[]
            {
                "start \"\" \"msxbox://sandbox?enabled=",
                text,
                "&id=",
                sandbox,
                "\""
            }), false, "Xbox", shouldRelaunch);
            SandboxHelper.OpenApp("Xbox Companion App", "start xbox:", true, "XboxApp", shouldRelaunch);
            SandboxHelper.OpenApp("Windows Store App", string.Concat(new string[]
            {
                "start \"\" \"ms-windows-store:sandbox?enabled=",
                text,
                "&id=",
                sandbox,
                "\""
            }), true, "WinStore.App", shouldRelaunch);
        }
Beispiel #2
0
 // Token: 0x06000009 RID: 9 RVA: 0x000025FA File Offset: 0x000007FA
 private static void OpenApp(string friendlyName, string command)
 {
     SandboxHelper.OpenApp(friendlyName, command, false, "", false);
 }