Click or drag to resize

PackageInfo Class

Information about a downloaded package.
Inheritance Hierarchy
SystemObject
  Altaxo.Serialization.AutoUpdatesPackageInfo

Namespace: Altaxo.Serialization.AutoUpdates
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class PackageInfo

The PackageInfo type exposes the following members.

Constructors
 NameDescription
Protected methodPackageInfo Initializes a new instance of the PackageInfo class.
Top
Properties
 NameDescription
Public propertyFileLengthGets the file length of the package.
Public propertyHashGets the hash sum of the package file.
Public propertyIsUnstableVersionGets a value indicating whether this package is the unstable or the stable build of the program.
Public propertyProperties A key-value dictionary of properties.
Public propertyVersionGets the version of the package.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodStatic memberFromLine Create a package info from a single line.
Public methodStatic memberFromStreamGets the package infos from the lines of the provided stream.
Public methodStatic memberGetDownloadDirectoryGets the directory where to store the downloaded update package.
Public methodStatic memberGetHashAsStringGets the hash as hexadecimal string.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodStatic memberGetHighestVersion Gets the highest version that is possible to install; or null, if such a version does not exist.
Public methodStatic memberGetLastUpdateCheckTimeUtcGets the last time a check for new updates was made
Public methodStatic memberGetPackageFileNameGets the name of the package file.
Public methodStatic memberGetPresentDownloadedPackage(Stream, String)If there already a package in the download directory, this function gets the present downloaded package. If anything is invalid (wrong format of the version file, wrong hash sum), the return value is Null.
Public methodStatic memberGetPresentDownloadedPackage(Stream, String, FileStream)If there already a package in the download directory, this function gets the present downloaded package. If anything is invalid (wrong format of the version file, wrong hash sum), the return value is Null.
Public methodStatic memberGetStableIdentifierGets the stable identifier (either 'Unstable' or 'Stable').
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberIsValidStableIdentifierDetermines whether the provided string designates either the stable or the unstable build.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldStatic memberVersionFileNameName (without path) of the version file, both at the remote location and on the local hard disk.
Top
See Also