Sqlite |
public SqliteCertificateDatabase( string fileName, string password, SecureRandom random )
Exception | Condition |
---|---|
ArgumentNullException | fileName is null. -or- password is null. -or- random is null. |
ArgumentException | The specified file path is empty. |
UnauthorizedAccessException | The user does not have access to read the specified file. |
IOException | An error occurred reading the file. |
Creates a new SqliteCertificateDatabase and opens a connection to the SQLite database at the specified path using the Mono.Data.Sqlite binding to the native SQLite library.
If Mono.Data.Sqlite is not available or if an alternative binding to the native SQLite library is preferred, then consider using SqlCertificateDatabase(DbConnection, String, SecureRandom) instead.