Пример #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (Console.Connect(out Console))
     {
         button1.Text = "Re-Connect";
     }
 }
Пример #2
0
 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;
     }
 }
Пример #3
0
 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");
     }
 }
Пример #4
0
 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)
     {
     }
 }
Пример #5
0
        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());
                }
            }
        }
Пример #6
0
 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); }
 }
Пример #7
0
 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.
     }
 }
Пример #8
0
 private void Form1_Load(object sender, EventArgs e)
 {
     Console.Connect(out Console);
 }