Метод |
Описание |
|
CleanupFiles ( string extractTempDir ) : void |
|
|
CopyStream ( Stream inputStream, Stream outputStream, long bytesToCopy, byte buf ) : void |
Copies the specified number of bytes from one stream to another via the provided buffer. |
|
DictionaryContainsIgnoringCase ( string>.Dictionary dict, string value ) : bool |
|
|
IsCharExcluded ( char c ) : bool |
|
|
SanitizeTarName ( string path, string>.Dictionary usedNames ) : string |
Maps file/directory names that are illegal under Windows to 'sanitized' versions. The usedNames parameter ensures this is done consistently within a directory tree. The dictionary is used by SanitizeTarName() to ensure names are consistently sanitized. e.g.: dir1: -> dir1_ dir1? -> dir1_ (1) dir1_ -> dir1_ (2) dir1:/file -> dir1_/file dir1?/file -> dir1_ (1)/file Pass the same dictionary to each invocation to get unique outputs within the same tree. |
|
ZipToOutputFile ( string folderToZip ) : void |
|
|