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
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
realivanjxツ
realivanjxツOP3y ago
sadly, yes
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
realivanjxツ
realivanjxツOP3y ago
i would be very surprised lol
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Anchy
Anchy3y ago
call winrar from command line through Process feelscomfyman
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
realivanjxツ
realivanjxツOP3y ago
the problem is i want to extract it into memorystream (not too big for each files)
MODiX
MODiX3y ago
tebeco#0205
Quoted by
<@!689473681302224947> from #rar library (click here)
React with ❌ to remove this embed.
realivanjxツ
realivanjxツOP3y ago
i think this is only for lzma compression and not working with rar file which is an archive format
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Chiyoko_S
Chiyoko_S3y ago
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 kappa
realivanjxツ
realivanjxツOP3y ago
Chiyoko_S
Chiyoko_S3y ago
hah, I use WebClient call me the biggerest brain jokes aside it's all in C

Did you find this page helpful?