Saltar al contenido principal

Runtimes.VCRedistInfo class

Namespace: Velopack.Windows

The base class for a VC++ redistributable package.

public abstract class Runtimes.VCRedistInfo : Runtimes.RuntimeInfo

Inherits: Runtimes.RuntimeInfo

Constructors​

ConstructorSummary
VCRedistInfo

VCRedistInfo(id, displayName, minVersion, cpuArchitecture)​

public VCRedistInfo(string id, string displayName, Version minVersion, RuntimeCpu cpuArchitecture)

Parameters

NameTypeDescription
idstring
displayNamestring
minVersionVersion
cpuArchitectureRuntimeCpu

Properties​

PropertySummary
MinVersionThe minimum compatible version that must be installed.
CpuArchitectureThe CPU architecture of the runtime.

MinVersion​

public Version MinVersion { get; }

The minimum compatible version that must be installed.

CpuArchitecture​

public RuntimeCpu CpuArchitecture { get; }

The CPU architecture of the runtime.

Methods​

MethodSummary
CheckIsInstalledCheck if a runtime compatible with the current instance is installed on this system
CheckIsSupportedCheck if this runtime is supported on the current system

CheckIsInstalled()​

public override Task<bool> CheckIsInstalled()

Check if a runtime compatible with the current instance is installed on this system

Returns Task<bool>

CheckIsSupported()​

public override Task<bool> CheckIsSupported()

Check if this runtime is supported on the current system

Returns Task<bool>


Generated from Velopack 1.2.0