Mono.Data.Sqlite.SqliteConnection.ChangePassword C# (CSharp) Méthode

ChangePassword() public méthode

Change the password (or assign a password) to an open database.
No readers or writers may be active for this process. The database must already be open and if it already was password protected, the existing password must already have been supplied.
public ChangePassword ( string newPassword ) : void
newPassword string The new password to assign to the database
Résultat void
    public void ChangePassword(string newPassword)
    {
      ChangePassword(String.IsNullOrEmpty(newPassword) ? null : System.Text.UTF8Encoding.UTF8.GetBytes(newPassword));
    }

Same methods

SqliteConnection::ChangePassword ( byte newPassword ) : void