Package |
The PackageInfo type exposes the following members.
| 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) | |
| GetDownloadDirectory | Gets the directory in which the downloaded update package is stored. | |
| GetHashAsString | Gets the hash as hexadecimal string. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetLastUpdateCheckTimeUtc | Gets the last time a check for new updates was made. | |
| GetStableIdentifier | Gets the stability identifier, either Unstable or Stable. | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| IsLengthAndHashOfPackageZipFileCorrect | 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. | |
| 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) | |
| ReadPackageFromCommandLine | Reads a package from command line arguments. | |
| ReadPackageFromJson(JsonNode) | Reads a single package from a Json package node. | |
| ReadPackageFromJson(Stream) | Reads a single package from a Json file. The outer node of the file has to be a package node. | |
| ReadPackageFromText | Create a package info from a single line. | |
| ReadPackagesFromJson | Reads multiple packages from a Json file. The outer node of the Json file has to be an array of package nodes. | |
| ReadPackagesFromText_Before2024_11 | Gets the package information from the lines of the provided stream. | |
| RemovePackageZipFileIfLengthOrHashDiffer(FileInfo) | Removes the package's zip file if its length or hash does not match the expected values. | |
| RemovePackageZipFileIfLengthOrHashDiffer(String) | Removes the package's zip file if its length or hash does not match the expected values. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| VerifyLengthAndHashOfPackageZipFile | Verifies the length and hash of the package's zip file. If length or hash differ, an exception is thrown. | |
| VerifyLengthAndHashOfPackageZipFileInFolder | Verifies the length and hash of package zip file. If length or hash differ, an exception is thrown. | |
| WritePackageToJson(Stream) | Saves the package to a stream. Intended for MakePackage, in which every package info is saved into a single file. | |
| WritePackageToJson(Utf8JsonWriter) | Saves the package using a Json writer. This call can be used to save more than one package into a file. | |
| WritePackageToText | Writes the (old style) package to one line of text. |