Encrypt Plain DB within .Net Code

Is there a way to Encrypt a Plain Text Database within the .NET Code ?
I only found examples with the sqlcipher exec and sqlcipher_export function. Was wondering if this could be done as part of my software as I want to migrate dozens of databases and automate the process

Hello @Francispell - yes, the examples are showing the command line, but you can use exactly the same sqlcipher_export() function from the .NET API. That function is built into SQLCipher and available from any of the programming language bindings that an application may use.