// 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)); }
// 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)); }
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))); }
// 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); }