Exemplo n.º 1
0
        public void SetLockPassword(string password)
        {
            if (string.IsNullOrWhiteSpace(password))
            {
                throw new ArgumentNullException("password");
            }

            this.LockPasswordHash = SecureStringHelper.HashPassword(password);
            this.SaveToFile();
        }