![]() ![]() Note this is not the same as Seven7Sharp, this is SevenZipSharp, but it works with 7z. ![]() Public SevenZipExtractor(string archiveFullName, string password) / Initializes a new instance of SevenZipExtractor class. You need to download the latest code from Codeplex and build it yourself, in it you will have a class called SevenZipExtractor where you have the following constructor: /// Parameter and Switch Syntax: Use a separate -m switch for each parameter when adding them to the command line. Encryption and passwords are supported. Eg 7z a -p 7ZipArchive Testfile.txt creates a 7z formatted archive named 7ZipArchive that is protected with a password, then adds a file named testfile.txt to the archive.With a bit further look at SevenZipSharp it seems that it should support password protected archives accroding to their project page ( ): It seem to have an interface called ICryptoGetTextPassword that you might be able to use if the 7z is password protected. Here's something else that might help you from codeplex. By the look of the source code of SevenZSharp, it does not support password protected files.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |