static public void reboot(XboxConsole console, string file, string mediaDir, string cmdLine, XboxRebootFlags flags) { if (console != null) { try { console.Reboot(file, mediaDir, cmdLine, flags); } catch { } } }