Xbox 360JRPC_Client Connection Code for C#
Posted:

Xbox 360JRPC_Client Connection Code for C#Posted:

Status: Offline
Joined: Jun 02, 20194Year Member
Posts: 2,813
Reputation Power: 3057
Status: Offline
Joined: Jun 02, 20194Year Member
Posts: 2,813
Reputation Power: 3057
I see a lot of people asking for this code amongst different forums. So I thought I would share.

Make sure you expand the code box to see the whole thing.





using JRPC_Client;
using XDevkit;

namespace rghtooltu
{
    public partial class Form1 : MetroFramework.Forms.MetroForm
    {
        IXboxConsole jtag;
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            if (jtag.Connect(out jtag))
            {
                jtag.XNotify("Connected To Youtube Tool");
                lbl2.Text = "Connected";
                MessageBox.Show("Connected To Console");
                txtk.Text = "" + ((XDevkit.IXboxConsole)jtag).GetKernalVersion();
                txtc.Text = "" + ((XDevkit.IXboxConsole)jtag).GetCPUKey();
                txtip.Text = "" + ((XDevkit.IXboxConsole)jtag).XboxIP();
                txtcpu.Text = "" + jtag.GetTemperature(JRPC.TemperatureType.CPU);
                txtgpu.Text = "" + jtag.GetTemperature(JRPC.TemperatureType.GPU);
            }
            else
            {
                MessageBox.Show("Failed To Connect");
            }
        }
    }
}
Users browsing this topic: None
Jump to:


RECENT POSTS

HOT TOPICS