Kalpesh Chhatrala
asked on
Create RAR File using .Net
I want to Create RAR File using .Net (no Rar.exe or WinRar.Exe)
thanks
Kalpesh
thanks
Kalpesh
ASKER
SharpCompress only Extract RAR File. i want to create RAR File.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i know RAR is Proprietary File Format. i am also using other format.
but i required RAR Solution without WinRar.exe
but i required RAR Solution without WinRar.exe
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I want to Create RAR File in .Net (Not Zip File).
your solution is for .Zip File
your solution is for .Zip File
Hi,
You neither want to use Rar nor winrar!
The only option here is to contact winrar team- http://www.rarlab.com/wgmbh.htm
You neither want to use Rar nor winrar!
The only option here is to contact winrar team- http://www.rarlab.com/wgmbh.htm
ASKER
I knew this solution. i already tell in my Question. i don't want to use RAR and WinRAR
i required .Net Library.
i required .Net Library.
Hi,
There is none available. That's why I ask you to contact winrar team.
There is none available. That's why I ask you to contact winrar team.
ASKER
I've requested that this question be deleted for the following reason:
did not get any solution.
did not get any solution.
There is no solution... Best suggestions were provided! Auther just want to use a paid tool service without using the it.
ASKER
i asked .Net Solution Not WinRar / RAR. i already cleared in My Question.
ASKER
I've requested that this question be deleted for the following reason:
Did not get Solution as per my question.
Did not get Solution as per my question.
And that is what I cleared in my answer... There is no solution available.
There is BUT not with .net you have to contact the programs author since it is a proprietary algorithm and the author likes to get paid. Sometimes the correct answer is that there is NO answer and we will keep objecting until you understand this.
ASKER
I asked clearly in MyQuestion.
i required .Net Solution then why are you wasting my time ?
i required .Net Solution then why are you wasting my time ?
ASKER
I've requested that this question be deleted for the following reason:
Please Delete this Question. i did not get solution as per my question.
Please Delete this Question. i did not get solution as per my question.
I am not wasting your time. Sometimes the answer is NOT what you want i.e. It Can't be Done is an acceptable answer.
ASKER
Private Sub RemovePassword(Filename As String, Password As String)
Dim WinrarPath As String = "C:\Program Files\WinRAR\WinRAR.exe" 'Could put in configuration.
Dim ExtractCmd As String = String.Format("X -p{0} *.* C:\temp\extract\", Password)
Dim p = Process.Start(WinrarPath, ExtractCmd)
p.WaitForExit()
'Rename old rar file as .old
IO.File.Move(Filename, Filename & ".old")
Dim RecreateCmd As String = String.Format("A ""{0}"" C:\temp\extract\*.* -ep1", Filename)
p = Process.Start(WinrarPath, RecreateCmd)
p.WaitForExit()
End Sub
ASKER
I've requested that this question be closed as follows:
Accepted answer: 0 points for kalpesh2804's comment #a39193639
for the following reason:
i forcefully accepted this code as answer.
Accepted answer: 0 points for kalpesh2804's comment #a39193639
for the following reason:
i forcefully accepted this code as answer.
ASKER
Please Delete this Question. because i did not get solution as per my question.
What Kalpesh has answered was not exactly the question... He has clearly mentioned that winrar.exe or rar.exe should not be used.
Hence, the answer is not acceptable.
Hence, the answer is not acceptable.
ASKER
I've requested that this question be deleted for the following reason:
i want to delete the question.
i want to delete the question.
Kalpesh does not want to assign any answer as a solution.
I would ask the moderators do the right job and assign the points to right answer.
Rikin
I would ask the moderators do the right job and assign the points to right answer.
Rikin
ASKER
I will not select any Answer. because i did not get answer.
http://sharpcompress.codeplex.com/releases/view/98965