private void button1_Click(object sender, EventArgs e) { if (Console.Connect(out Console)) { button1.Text = "Re-Connect"; } }
private void connectButton_Click(object sender, EventArgs e) { if (xbox.Connect(out xbox)) { Text = "Tsunami V2 - Connected"; refreshButton.Enabled = true; connectButton.Text = "Connected To Console"; connectButton.Enabled = false; } }
private void button1_Click(object sender, EventArgs e) { try { Console.Connect(out Console, "default"); Console.XNotify("Revision Connected!"); setConnectionStatus(true); } catch { MessageBox.Show("Unable to connect to console"); } }
public static void Connect() { try { if (Serenity.Connect(out Serenity)) { X360Text("Connected! " + Application.ProductVersion); connected = true; } else { MessageBox.Show("Error 101 (Xbox 360 Not Found)"); } } catch (Exception ex) { } }
private void connectDefaultConsole() { if (isConnected) { return; } if (xbox.Connect(out xbox)) { try { xbox.XNotify("XeShare - Ready to Screenshot!"); isConnected = true; } catch (Exception ex) { isConnected = false; MessageBox.Show(ex.ToString()); } } }
public static bool Init() { try { bool result = jtag.Connect(out jtag); if (result) { con = (XboxConsole)jtag; con.OnStdNotify += con_OnStdNotify; con.DebugTarget.ConnectAsDebugger("X360 Debugger WV", XboxDebugConnectFlags.Force); isRunning = true; breakPoints = new List <uint>(); if (File.Exists("trace_log.txt")) { File.Delete("trace_log.txt"); } } return(result); } catch { return(false); } }
private void simpleButton1_Click(object sender, EventArgs e) { if (xbox.Connect(out xbox)) //Connecting Console { MessageBox.Show("Successfully Connected to Silica!"); xbox.XNotify("Welcome to Silica (Beta)"); xbox.XNotify("Created by Team Silica!"); label1.ForeColor = Color.Green; label1.Text = "Status: Connected!"; textEdit1.Text = "Kernal Version: " + xbox.GetKernalVersion(); textEdit2.Text = "CPU Key: " + xbox.GetCPUKey(); textEdit3.Text = "CPU Temperature: " + xbox.GetTemperature(JRPC.TemperatureType.CPU); textEdit4.Text = "GPU Temperature: " + xbox.GetTemperature(JRPC.TemperatureType.GPU); textEdit5.Text = "Motherboard Temperature: " + xbox.GetTemperature(JRPC.TemperatureType.MotherBoard); textEdit6.Text = "Xbox I.P Address: " + xbox.XboxIP(); } else { MessageBox.Show("Error, Could not Locate Console!"); //This can be due to Neighborhood not installed, or JRPC2 not set as a plugin. } }
private void Form1_Load(object sender, EventArgs e) { Console.Connect(out Console); }