Example #1
0
        /// <summary>
        /// Reads an IW8 encrypted string from the processes' memory.
        /// </summary>
        /// <param name="address">Memory Address</param>
        /// <param name="bufferSize">Buffer Read Size</param>
        /// <returns>Resulting String</returns>
        public string ReadIW8EncryptedString(long address, int bufferSize = 3072, bool nullCheck = false)
        {
            string decrypted = Decryption.DecryptStringIW8(ReadBytes(address, bufferSize));

            if (nullCheck == true)
            {
                if (decrypted == "")
                {
                    return(null);
                }
            }

            return(decrypted);
        }