Any .Net API to export rvm?

Dear Experts,

Is there any .Net API we can use to export rvm files? Thanks.

I know how to export rvm files with pml, but I don't want to use pml in .net addin as it's too slow.