represents the content of a firefox signon file
		/// <summary>
		/// Quick way to load a new file
		/// </summary>
		/// <param name="profile">Profile with the signon file</param>
		public static FirefoxSignonsFile Create(FirefoxProfile profile, string password)
		{
			FirefoxSignonsFile file = new FirefoxSignonsFile();
			file.Load(profile, password);

			return file;
		}
예제 #2
0
        /// <summary>
        /// Quick way to load a new file
        /// </summary>
        /// <param name="profile">Profile with the signon file</param>
        public static FirefoxSignonsFile Create(FirefoxProfile profile, string password)
        {
            FirefoxSignonsFile file = new FirefoxSignonsFile();

            file.Load(profile, password);

            return(file);
        }
        /// <summary>
        /// loaded data from the profiles signonfile
        /// </summary>
        public FirefoxSignonsFile GetSignonsFile(string password)
        {
            if (_SignonsFile == null)
            {
                _SignonsFile = FirefoxSignonsFile.Create(this, password);
            }

            return(_SignonsFile);
        }
		/// <summary>
		/// loaded data from the profiles signonfile
		/// </summary>
		public FirefoxSignonsFile GetSignonsFile(string password)
		{

			if (_SignonsFile == null)
			{
				_SignonsFile = FirefoxSignonsFile.Create(this, password);
			}

			return _SignonsFile;
		}