Skidcar
Veteran
- Messages
- 19
- Reaction score
- 3
- Points
- 783
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");
}
}
}
}