Skip to main content

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​

ConstructorSummary
FrameworkInfo

FrameworkInfo(id, displayName, downloadUrl, releaseVersion)​

public FrameworkInfo(string id, string displayName, string downloadUrl, int releaseVersion)

Parameters

NameTypeDescription
idstring
displayNamestring
downloadUrlstring
releaseVersionint

Properties​

PropertySummary
DownloadUrlPermalink to the installer for this runtime
ReleaseVersionThe 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​

MethodSummary
GetDownloadUrlRetrieves the web url to the latest compatible runtime installer exe
CheckIsSupportedCheck if this runtime is supported on the current system
CheckIsInstalledCheck 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.2.0