Beispiel #1
0
 /// <summary>
 /// Executes a <see cref="FastbootCommand"/>
 /// </summary>
 /// <remarks>Should be used if you do not want the output of the command; good for quick fastboot commands</remarks>
 /// <param name="command">Instance of <see cref="FastbootCommand"/></param>
 public static void ExecuteFastbootCommandNoReturn(FastbootCommand command)
 {
     Command.RunProcessNoReturn(AndroidController.Instance.ResourceDirectory + FastbootExe, command.Command, command.Timeout);
 }
Beispiel #2
0
 /// <summary>
 /// Executes a <see cref="FastbootCommand"/> and Outputs Error/Output streams via <see cref="OutputEventArgs"/>.
 /// </summary>
 /// <param name="command"></param>
 public static void ExecuteFastbootCommandOutStream(FastbootCommand command)
 {
     Command.RunProcessOutputStream(AndroidController.Instance.ResourceDirectory + FastbootExe, command.Command,
                                    command.Timeout);
 }
Beispiel #3
0
 /// <summary>
 /// Executes a <see cref="FastbootCommand"/>
 /// </summary>
 /// <param name="command">Instance of <see cref="FastbootCommand"/></param>
 /// <returns>Output of <paramref name="command"/> run in fastboot</returns>
 public static string ExecuteFastbootCommand(FastbootCommand command)
 {
     return(Command.RunProcessReturnOutput(AndroidController.Instance.ResourceDirectory + FastbootExe, command.Command, command.Timeout));
 }