extract password protected sfx archive using c# -
i have winrar sfx file. know can extract archive using next code:
process process = new process(); process.startinfo.filename = "unrar.exe"; process.startinfo.arguments = "x file.rar d:\myfolder"; process.start(); process.waitforexit();
but how can extract sfx file when have known password?
you can utilize -p parameter assuming password 123456
process process = new process(); process.startinfo.filename = "unrar.exe"; process.startinfo.arguments = "x -p123456 file.rar d:\myfolder"; process.start(); process.waitforexit();
c# sfx
No comments:
Post a Comment