Example #1
0
        /// <summary>
        /// Returns a base 64 encrypted serialized representation of this object.
        /// </summary>
        /// <returns></returns>
        public string ToEncryptedString()
        {
            if (Width == 0)
            {
                Width = 180;
            }

            if (Height == 0)
            {
                Height = 50;
            }

            return(CaptchaBase.EncryptString(ToString()));
        }