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
| Constructor | Summary |
|---|---|
VCRedistInfo |
VCRedistInfo(id, displayName, minVersion, cpuArchitecture)
public VCRedistInfo(string id, string displayName, Version minVersion, RuntimeCpu cpuArchitecture)
Parameters
| Name | Type | Description |
|---|---|---|
id | string | |
displayName | string | |
minVersion | Version | |
cpuArchitecture | RuntimeCpu |
Properties
| Property | Summary |
|---|---|
MinVersion | The minimum compatible version that must be installed. |
CpuArchitecture | The 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
| Method | Summary |
|---|---|
CheckIsInstalled | Check if a runtime compatible with the current instance is installed on this system |
CheckIsSupported | Check 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.1.1