C# Class Microsoft.OfficeProPlus.Downloader.CabExtractor

Inheritance: IDisposable
Afficher le fichier Open project: OfficeDev/Office-IT-Pro-Deployment-Scripts Class Usage Examples

Private Properties

Свойство Type Description
AddToListOfFiles void
CopyFiles System.IntPtr
CreateAllRelevantDirectories void
Dispose void
ExtractCallback System.IntPtr
ExtractFile void
FdiCopy bool
FdiCreate System.IntPtr
FdiIterate bool
FileRead int
FileSeek int
FileWrite int
GetFileName string
GetFileRootFolder string
InputFileClose int
InputFileOpen System.IntPtr
IterateCallback System.IntPtr
MemAlloc System.IntPtr
MemFree void
OutputFileClose System.IntPtr
OutputFileOpen System.IntPtr
ShouldIgnoreFile bool
StreamFromHandle Stream

Méthodes publiques

Méthode Description
CabExtractor ( string cabFilePath ) : System
CabExtractor ( string cabFilePath, IEnumerable subDirectoryToUnpack ) : System
CopyStream ( Stream input, Stream output ) : void

Copies the contents of input to output. Doesn't close either stream.

Dispose ( ) : void
ExtractCabFiles ( ) : bool

Private Methods

Méthode Description
AddToListOfFiles ( ArchiveFile extractFile ) : void
CopyFiles ( NativeMethods fdin ) : IntPtr
CreateAllRelevantDirectories ( string filePath ) : void
Dispose ( bool disposing ) : void
ExtractCallback ( NativeMethods fdint, NativeMethods fdin ) : IntPtr
ExtractFile ( string fileName ) : void
FdiCopy ( ) : bool
FdiCreate ( NativeMethods fnMemAlloc, NativeMethods fnMemFree, NativeMethods fnFileOpen, NativeMethods fnFileRead, NativeMethods fnFileWrite, NativeMethods fnFileClose, NativeMethods fnFileSeek, NativeMethods erf ) : IntPtr
FdiIterate ( ) : bool
FileRead ( IntPtr hf, byte buffer, int cb ) : int
FileSeek ( IntPtr hf, int dist, int seektype ) : int
FileWrite ( IntPtr hf, byte buffer, int cb ) : int
GetFileName ( NativeMethods notification ) : string
GetFileRootFolder ( string path ) : string
InputFileClose ( IntPtr hf ) : int
InputFileOpen ( string fileName, int oflag, int pmode ) : IntPtr
IterateCallback ( NativeMethods fdint, NativeMethods fdin ) : IntPtr
MemAlloc ( int cb ) : IntPtr
MemFree ( IntPtr mem ) : void
OutputFileClose ( NativeMethods fdin ) : IntPtr
OutputFileOpen ( NativeMethods fdin ) : IntPtr
ShouldIgnoreFile ( ArchiveFile extractFile ) : bool
StreamFromHandle ( IntPtr hf ) : Stream

Method Details

CabExtractor() public méthode

public CabExtractor ( string cabFilePath ) : System
cabFilePath string
Résultat System

CabExtractor() public méthode

public CabExtractor ( string cabFilePath, IEnumerable subDirectoryToUnpack ) : System
cabFilePath string
subDirectoryToUnpack IEnumerable
Résultat System

CopyStream() public static méthode

Copies the contents of input to output. Doesn't close either stream.
public static CopyStream ( Stream input, Stream output ) : void
input Stream
output Stream
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

ExtractCabFiles() public méthode

public ExtractCabFiles ( ) : bool
Résultat bool