Click or drag to resize

PackageInfo Methods

The PackageInfo type exposes the following members.

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
See Also