阅读背景:

C#确定SQLite数据库文件是否经过密码加密

来源:互联网 

Yes, I know that it's possible to attempt connecting to a SQLite database, and then using a try-catch if a password is required. This is not clean code. I am looking for a smarter way to determine if a .sqlite file is encrypted before attempting to connect to it. I am using the System.Data.sqlite dll for this project.Yes, I know that it's possible to attempt conne




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: