Beispiel #1
0
        private void button9_Click(object sender, EventArgs e)
        {
            uint pAddress    = Console.ResolveFunction("xam.xex", 2601) + 0x3000;// free xam memory
            int  LocalClient = 0;

            if (Console.Call <uint>("xam.xex", 522, LocalClient, 7, pAddress) == 0)// XamUserGetXUID
            {
                // XUID of local client is in pAddress
                MessageBox.Show("XUID of client 0 is " + Console.ReadUInt64(pAddress).ToString("X16"));
            }
            else
            {
                MessageBox.Show("Error!");
            }
        }