Skip to main content

GeneralUpdate.Core

Definition

Namespace: GeneralUpdate.Core

Assembly: GeneralUpdate.Core.dll

GeneralUpdate.Core is one of the most essential components, providing a wide range of primary functionalities. Once the main program upgrade operation is completed, this component is invoked through process startup and parameter passing to complete the main program upgrade operation. (Main responsibility is updating the main program)

public class GeneralUpdateBootstrap : AbstractBootstrap<GeneralUpdateBootstrap, IStrategy>

Example

GeneralUpdateBootstrap uses code examples [View]

Annotations

GeneralUpdateBootstrap provides the following capabilities.

Constructors

ConstructorsDescription
GeneralUpdateBootstrap()Current GeneralUpdateBootstrap constructor
base:AbstractBootstrap()Parent class AbstractBootstrap constructor

Properties

PropertiesDescription
PacketUpdate package information
UpdateOptionUpdate operation configuration enumeration

Methods

MethodDescription
LaunchTaskAsync()Asynchronously launch update with Task
LaunchAsync()Launch update
Option()Set update configuration
GetOption()Get update configuration
AddListenerMultiAllDownloadCompleted()Listen for completion of all version downloads
AddListenerMultiDownloadCompleted()Listen for completion of each version download
AddListenerMultiDownloadError()Listen for download errors for each version
AddListenerMultiDownloadStatistics()Listen for download statistics/progress for each version
AddListenerException()Listen for all internal exceptions in the update component

🍵UpdateOption

Enumeration

Drive Whether to enable driver upgrade functionality.

Applicable to

ProductVersions
.NET5, 6, 7, 8, 9
.NET Framework4.6.1
.NET Standard2.0
.NET Core2.0