SevenZip/SevenZipCompressor.cs
/// <summary>
///   Produces  a new instance of ArchiveUpdateCallback class.
/// </summary>
/// <param name = "inStream">The archive input stream.</param>
/// <param name = "password">The archive password.</param>
/// <returns></returns>
Produces  a new instance of ArchiveUpdateCallback class.
Produces a new instance of ArchiveUpdateCallback class .
private ArchiveUpdateCallback GetArchiveUpdateCallback(Stream inStream, string password)
        {
            SetCompressionProperties();
            ArchiveUpdateCallback auc = (String.IsNullOrEmpty(password))
                                            ? new ArchiveUpdateCallback(inStream, this, GetUpdateData(),
                                                                        DirectoryStructure)
                                                  {DictionarySize = GetDictionarySize()}
                                            : new ArchiveUpdateCallback(inStream, password, this, GetUpdateData(),
                                                                        DirectoryStructure)
                                                  {DictionarySize = GetDictionarySize()};
            CommonUpdateCallbackInit(auc);
            return auc;
        }
private ArchiveUpdateCallback GetArchiveUpdateCallback ( Stream inStream , string password ) { SetCompressionProperties ( ) ; ArchiveUpdateCallback auc = ( String . IsNullOrEmpty ( password ) ) ? new ArchiveUpdateCallback ( inStream , this , GetUpdateData ( ) , DirectoryStructure ) { DictionarySize = GetDictionarySize ( ) } : new ArchiveUpdateCallback ( inStream , password , this , GetUpdateData ( ) , DirectoryStructure ) { DictionarySize = GetDictionarySize ( ) } ; CommonUpdateCallbackInit ( auc ) ; return auc ; }
Produces  a new instance of ArchiveUpdateCallback class.
Produces a new instance of ArchiveUpdateCallback class .
None
inStream
Stream
The archive input stream.
The archive input stream .
password
string
The archive password.
The archive password .