/// <summary>
 /// Opens the wallet with a specified password.
 /// </summary>
 /// <param name="password">The password.</param>
 /// <returns>Account.</returns>
 public PrivateAccount Open(Password password)
 {
     return(PrivateAccount.CreateFromPrivateKey(EncryptedPrivateKey.Decrypt(password), Network));
 }
 /// <summary>
 /// Unlocks the private key.
 /// </summary>
 /// <param name="password">The password.</param>
 /// <returns>System.String.</returns>
 public string UnlockPrivateKey(Password password)
 {
     return(PrivateAccount.CreateFromPrivateKey(EncryptedPrivateKey.Decrypt(password), Network)
            .PrivateKey);
 }