public static void Profiles(string pathApp, string pathData) { if (Engine.Instance.Elevated != null) { string owner = Environment.UserName; Elevated.Command command = new Elevated.Command(); command.Parameters["command"] = "compatibility-profiles"; command.Parameters["path-app"] = pathApp; command.Parameters["path-data"] = pathData; command.Parameters["owner"] = owner; command.DoSync(); } }
public static void WindowsRemoveTask() { Elevated.Command command = new Elevated.Command(); command.Parameters["command"] = "compatibility-remove-task"; command.DoSync(); }