If it was in managed C ++ or C ++ / CLI, you can compile it and then parse the assembly in C # using a tool like Reflector. Of course, this is not open source, but maybe you can find an open source reflex tool?
If it's native C ++, it's a lot more complicated.