Click or drag to resize

PackageInfoIsLengthAndHashOfPackageZipFileCorrect Method

Determines whether the file length and hash of the package zip file are correct. This is a simple wrapper around VerifyLengthAndHashOfPackageZipFile(FileInfo, Boolean), which returns true if the verification was successful, and false if an exception was thrown.

Namespace: Altaxo.Serialization.AutoUpdates
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3618.0 (4.8.3618.0)
Syntax
C#
public bool IsLengthAndHashOfPackageZipFileCorrect(
	FileInfo fileInfo
)

Parameters

fileInfo  FileInfo
The file information of the package's zip file to verify. Cannot be null.

Return Value

Boolean
True if the file length and hash are correct; otherwise, false.
See Also