Exemplo n.º 1
0
 // Token: 0x06000C3E RID: 3134 RVA: 0x0003F150 File Offset: 0x0003D350
 public int SetMemory(ulong offset, string hexadecimal, EndianType Type = EndianType.BigEndian)
 {
     byte[] array = CCAPI.StringToByteArray(hexadecimal);
     if (Type == EndianType.LittleEndian)
     {
         Array.Reverse(array);
     }
     return(this.setProcessMemory(CCAPI.System.processID, offset, (uint)array.Length, array));
 }
Exemplo n.º 2
0
        // Token: 0x06000C53 RID: 3155 RVA: 0x0003F718 File Offset: 0x0003D918
        public int SetBootConsoleID(string consoleID, CCAPI.IdType Type = CCAPI.IdType.IDPS)
        {
            string text = string.Empty;

            if (consoleID.Length >= 32)
            {
                text = consoleID.Substring(0, 32);
            }
            return(this.SetBootConsoleID(CCAPI.StringToByteArray(consoleID), Type));
        }
Exemplo n.º 3
0
        public int SetConsoleID(string consoleID)
        {
            string hex = string.Empty;

            if (consoleID.Length >= 32)
            {
                hex = consoleID.Substring(0, 32);
            }
            return(CCAPI.setConsoleID(CCAPI.System.connectionID, CCAPI.StringToByteArray(hex)));
        }
Exemplo n.º 4
0
        // Token: 0x06000C51 RID: 3153 RVA: 0x0003F668 File Offset: 0x0003D868
        public int SetPSID(string PSID)
        {
            int result;

            if (string.IsNullOrEmpty(PSID))
            {
                MessageBox.Show("Cannot send an empty value", "Empty or null psid", MessageBoxButtons.OK, MessageBoxIcon.Hand);
                result = -1;
            }
            else
            {
                string hex = string.Empty;
                if (PSID.Length >= 32)
                {
                    hex = PSID.Substring(0, 32);
                }
                result = this.SetPSID(CCAPI.StringToByteArray(hex));
            }
            return(result);
        }