示例#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));
        }
示例#2
0
        /// <summary>
        /// Return an encrypted locator string.
        /// </summary>
        /// <returns></returns>
        public string CreateLocator()
        {
            string stamp = GetType().ToString();

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