public static void FullReboot(rebootpwn.rebootpwn rbpwn)
 {
 	rbpwn.EnterRecovery();
 	int mode = rbpwn.connectionStatus;
 	//Console.WriteLine("Waiting for device to boot into recovery...");
 	while (mode!=5)
     {
         mode = rbpwn.connectionStatus;
     }
 	rbpwn.ExitRecovery();
 }
        public static void FullReboot(rebootpwn.rebootpwn rbpwn)
        {
            rbpwn.EnterRecovery();
            int mode = rbpwn.connectionStatus;

            //Console.WriteLine("Waiting for device to boot into recovery...");
            while (mode != 5)
            {
                mode = rbpwn.connectionStatus;
            }
            rbpwn.ExitRecovery();
        }
 	public static bool EnterRecovery(rebootpwn.rebootpwn rbp)
 	{
 		return rbp.EnterRecovery();
 	}
 public static bool EnterRecovery(rebootpwn.rebootpwn rbp)
 {
     return(rbp.EnterRecovery());
 }