Ejemplo n.º 1
0
 public string HashPassword()
 {
     if (Password == null)
     {
         throw new ArgumentException("Password is null, cannot hash.");
     }
     if (this.HashedPassword == null)
     {
         HashedPassword = CryptUtil.HashAppUserPassword(Password);
     }
     return(HashedPassword);
 }