ZipPackage class
Namespace: Velopack.NuGet
public class ZipPackage : PackageManifest
Inherits: PackageManifest
Constructors
| Constructor | Summary |
|---|---|
ZipPackage |
ZipPackage(filePath, loadUpdateExe)
public ZipPackage(string filePath, bool loadUpdateExe = false)
Parameters
| Name | Type | Description |
|---|---|---|
filePath | string | |
loadUpdateExe | bool |
Properties
| Property | Summary |
|---|---|
Files | |
UpdateExeBytes | |
LoadedFromPath |
Files
public IEnumerable<ZipPackageFile> Files { get; }
UpdateExeBytes
public byte[]? UpdateExeBytes { get; }
LoadedFromPath
public string LoadedFromPath { get; }
Methods
| Method | Summary |
|---|---|
ReadFile |
ReadFile(archive, predicate)
protected byte[]? ReadFile(ZipArchive archive, Func<ZipArchiveEntry, bool> predicate)
Parameters
| Name | Type | Description |
|---|---|---|
archive | ZipArchive | |
predicate | Func<ZipArchiveEntry, bool> |
Returns byte[]
Generated from Velopack 1.1.1