Package |
public class PackageInfo
The PackageInfo type exposes the following members.
Name | Description | |
---|---|---|
PackageInfo | Initializes a new instance of the PackageInfo class. |
Name | Description | |
---|---|---|
FileLength | Gets the file length of the package. | |
Hash | Gets the hash sum of the package file. | |
IsUnstableVersion | Gets a value indicating whether this package is the unstable or the stable build of the program. | |
Properties | A key-value dictionary of properties. | |
Version | Gets the version of the package. |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
FromLine | Create a package info from a single line. | |
FromStream | Gets the package infos from the lines of the provided stream. | |
GetDownloadDirectory | Gets the directory where to store the downloaded update package. | |
GetHashAsString | Gets the hash as hexadecimal string. | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetHighestVersion | Gets the highest version that is possible to install; or null, if such a version does not exist. | |
GetLastUpdateCheckTimeUtc | Gets the last time a check for new updates was made | |
GetPackageFileName | Gets the name of the package file. | |
GetPresentDownloadedPackage(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. | |
GetPresentDownloadedPackage(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. | |
GetStableIdentifier | Gets the stable identifier (either 'Unstable' or 'Stable'). | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
IsValidStableIdentifier | Determines whether the provided string designates either the stable or the unstable build. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Name | Description | |
---|---|---|
VersionFileName | Name (without path) of the version file, both at the remote location and on the local hard disk. |