I think this project is exactly what you're looking for But it will require an external DLL file, though, you can use .NETZ to pack everything together in one .exe file. Example usage of NETZ Code: netz app.exe lib1.dll lib2.dll
Cant you use miso.exe to extract iso to folder and oscdimg.exe to create iso from that folder? EDIT: Sorry these are external exe's..