C# Класс SaltTPF.ZipReader

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Description string
EOFStrct EOFRecord
Entries List
Scanned bool
_filename String

Открытые методы

Метод Описание
ZipReader ( String filename ) : System

Construct the zip object. Reads in the file list and uses it to populate the entries var

Приватные методы

Метод Описание
BuffXOR ( Stream buffstream, int count ) : byte[]

Given a stream the function will return a byte array of length count that has been XORed with the TPF key

FindEOFRecord ( Stream tpfstream ) : System.Int64

This function attempts to find the location of the end of central directory record

PopulateEntries ( Stream buffstream ) : void

Reads the Central Directory to populate the list of files

Описание методов

ZipReader() публичный Метод

Construct the zip object. Reads in the file list and uses it to populate the entries var
public ZipReader ( String filename ) : System
filename String The file to read in
Результат System

Описание свойств

Description публичное свойство

public string Description
Результат string

EOFStrct публичное свойство

public EOFRecord EOFStrct
Результат EOFRecord

Entries публичное свойство

public List Entries
Результат List

Scanned публичное свойство

public bool Scanned
Результат bool

_filename публичное свойство

public String _filename
Результат String