private sqlite3_key ( IntPtr db, byte key, int keylen ) : int | ||
db | IntPtr | |
key | byte | |
keylen | int | |
리턴 | int |
internal override void SetPassword(byte[] passwordBytes) { int n = UnsafeNativeMethods.sqlite3_key(_sql, passwordBytes, passwordBytes.Length); if (n > 0) { throw new SqliteException(n, SQLiteLastError()); } }
internal override void SetPassword(byte[] passwordBytes) { #if MOBILE throw new PlatformNotSupportedException(); #else int n = UnsafeNativeMethods.sqlite3_key(_sql, passwordBytes, passwordBytes.Length); if (n > 0) { throw new SqliteException(n, SQLiteLastError()); } #endif }