c# - Edit iso file with discutils -


i'm trying modify existing iso file adding files using discutils. far i've tried cdbuilder allows creating iso file. cdreader can open file , can enumerate contents can't find way of adding files.

can point me in right direction?

edit: there's cdreader class can used open existing .iso file. once open, can enumerate contents should wish extract files, there no clear method adding file. e.g.

using (filestream fs = file.open(imagefilepath, filemode.open)) {                         cdreader cd = new cdreader(fs, true, true);     foreach (var dir in cd.root.getdirectories())     {         console.writeline(dir.name);     } } 

there cdbuilder class used build .iso files scratch, cannot used open existing .iso file. yes create temporary copy of .iso image cdbuilder object consume lot of memory when adding large number of files. can discutils library used purpose?

thanks

.net discutils supports reading or creating iso files. modifying not supported yet. , yes, way recreate iso existing diskutils.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -