New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get the name of a part when the volume changes (Multi-Volume) #358
Comments
This would probably require the Reader to have knowledge of the current volume. It probably already does. Just need to expose it like Pull requests are welcome |
Thx for the help adam, i solved my problem :) After you give me a hint, i found here on github the fix for my problem. I´m using the IArchive Interface and FilePartExtractionBeginEventArgs. And a little change in "FileInfoRarFilePart.cs". I´ve changed the part "return FileInfo.FullName" to "return FileInfo.Name" and removed the "File entry" thing :) For me it works PERFECT now . |
Can u post the link to your solution as I think this will help with my progress issue |
ATM i have no link, put i can you post here a part of my solution. For me, it works very good. Don´t know if do this for you, too.... In "SharpCompress.Archives.Rar.FileInfoRarFilePart.cs" change it in this manner:
The Rest i´ve done is made with vb.net, so you have to convert it to c#. And this is only a little part of the solution... And a little bit old code, because i´m not at home :D This is the important thing... In my project Label11 is the Label wich shows the actual volume (e.g. "test.r08")
|
Is it possible to get the part-name of an entry while extracting it?
For example: I have a Multi-Volume with 20 parts (.rar - .r19)
I start the extracting and i need the name of the volume-part when the volume changes... Is this possible?
Hope that nobody blames me for this question, but i don´t have much knowledge with C#
The text was updated successfully, but these errors were encountered: