i'm using the data provider and think it's realy nice work. In my c# project i want to use the fts2 fulltext module but before that i have to enable load extension.

In c++ i can do something like this...

sqlite3_enable_load_extension (m_db, 1);
sqlite3_exec (m_db, "SELECT load_extension('c:\\fts2.dll')", 0, 0, &m_pszErrorMsg);

That works fine, but how can i do that in c#? When i only execute SELECT load_extension('c:\\fts2.dll')" within a SqliteCommand i'm getting an "not authorized" error. I think i have to enable it before.

Some ideas?