The C API allow you to read and write files. For .NET integration you would have to create a wrapper that bridges the two.