Runtimes.FrameworkInfo class
Namespace: Velopack.Windows
Represents a full .NET Framework runtime, usually included in Windows automatically through Windows Update
public class Runtimes.FrameworkInfo : Runtimes.RuntimeInfo
Inherits: Runtimes.RuntimeInfo
Constructors
| Constructor | Summary |
|---|---|
FrameworkInfo |
FrameworkInfo(id, displayName, downloadUrl, releaseVersion)
public FrameworkInfo(string id, string displayName, string downloadUrl, int releaseVersion)
Parameters
| Name | Type | Description |
|---|---|---|
id | string | |
displayName | string | |
downloadUrl | string | |
releaseVersion | int |
Properties
| Property | Summary |
|---|---|
DownloadUrl | Permalink to the installer for this runtime |
ReleaseVersion | The minimum compatible release version for this runtime |
DownloadUrl
public string DownloadUrl { get; }
Permalink to the installer for this runtime
ReleaseVersion
public int ReleaseVersion { get; }
The minimum compatible release version for this runtime
Methods
| Method | Summary |
|---|---|
GetDownloadUrl | Retrieves the web url to the latest compatible runtime installer exe |
CheckIsSupported | Check if this runtime is supported on the current system |
CheckIsInstalled | Check if a runtime compatible with the current instance is installed on this system |
GetDownloadUrl()
public override Task<string> GetDownloadUrl()
Retrieves the web url to the latest compatible runtime installer exe
Returns Task<string>
CheckIsSupported()
public override Task<bool> CheckIsSupported()
Check if this runtime is supported on the current system
Returns Task<bool>
CheckIsInstalled()
public override Task<bool> CheckIsInstalled()
Check if a runtime compatible with the current instance is installed on this system
Returns Task<bool>
Generated from Velopack 1.1.1