Example #1
0
        /// <summary>
        /// Gets the byte array.
        /// </summary>
        /// <returns></returns>
        public override byte[] GetByteArray()
        {
            List <byte> retVal = new List <byte>();

            retVal.AddRange(base.GetByteArray());
            retVal.AddRange(FileUID.ToByteArray());

            return(retVal.ToArray());
        }
Example #2
0
 /// <summary>
 /// Returns a <see cref="T:System.String"/> that represents the current <see cref="T:System.Object"/>.
 /// </summary>
 /// <returns>
 /// A <see cref="T:System.String"/> that represents the current <see cref="T:System.Object"/>.
 /// </returns>
 public override string ToString()
 {
     return(String.Join(SEPARATOR.ToString(), new string[] { base.ToString(), FileUID.ToString() }));
 }