Exemplo n.º 1
0
        /// <summary>
        /// Returns a locator string to recreate the template object at a later time.
        /// Use the Locate method to recreate the object.
        /// </summary>
        /// <returns></returns>
        public string CreateLocator()
        {
            string locator = FileName + "|" + Switches + "|" + Key + "|" + Location.CreateLocator();

            return(Util.EncryptString(locator));
        }
Exemplo n.º 2
0
        /// <summary>
        /// Return an encrypted locator string.
        /// </summary>
        /// <returns></returns>
        public string CreateLocator()
        {
            string stamp = GetType().ToString();

            return(Util.EncryptString(stamp + "|" + SerializeContent()));
        }