rar library
what is the best library/nuget out there to list and extract the content of a rar file? it would be better if it is specifically for rar since i already able to work with zip files via the built in ZipArchive class. thanks.
15 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
sadly, yes
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
i would be very surprised lol
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
call winrar from command line through Process
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
the problem is i want to extract it into memorystream (not too big for each files)
tebeco#0205
Quoted by
<@!689473681302224947> from #rar library (click here)
React with ❌ to remove this embed.
i think this is only for lzma compression and not working with rar file which is an archive format
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
apparently rar is not an open source format
TIL
there doesn't appear to be a decent library for unzipping rars, best bet would be to make it a requirement to have 7zip / other archiving programs & unzip the files into a temporary folder
alternatively, if you want to do it the hard way
ftp://ftp.rarlabs.com/rar/unrarsrc-3.7.8.tar.gz apparently this is the official source code of the rar unzipping tool
ftp
reverse engineer that and create your own rar unzipping
hah, I use
WebClient
call me the biggerest brain
jokes aside it's all in C