Esempio n. 1
0
        /// <summary>
        /// Add a big integer value to the key
        /// </summary>
        /// <param name="name">The name of the value</param>
        /// <param name="value">The value itself</param>
        /// <param name="littleEndian">True to add as little endian</param>
        /// <returns>The added data value</returns>
        public DataValue AddValue(string name, BigInteger value, bool littleEndian)
        {
            DataValue dataValue = new BigIntegerDataValue(name, value, littleEndian);

            AddSubNode(dataValue);

            return(dataValue);
        }
Esempio n. 2
0
        /// <summary>
        /// Add a big integer value to the key
        /// </summary>
        /// <param name="name">The name of the value</param>
        /// <param name="value">The value itself</param>
        /// <param name="littleEndian">True to add as little endian</param>
        /// <returns>The added data value</returns>
        public DataValue AddValue(string name, BigInteger value, bool littleEndian)
        {
            DataValue dataValue = new BigIntegerDataValue(name, value, littleEndian);
            AddSubNode(dataValue);

            return dataValue;
        }