Skip to main content

Runtimes Class

⚠️ Warning: These classes are no longer used by Velopack, and does not represent the current supported runtimes. https://github.com/velopack/velopack/blob/master/docs/bootstrapping.md

Namespace: Velopack.Windows
Assembly: Velopack
Assembly Version: 0.0.626+6f1a94e

Contains static properties to access common supported runtimes, and a function to search for a runtime by name

[Obsolete("These classes are no longer used by Velopack, and does not represent the current supported runtimes. https://github.com/velopack/velopack/blob/master/docs/bootstrapping.md")]
public static class Runtimes

Inheritance: object → Runtimes

Attributes: ObsoleteAttribute

Fields

NameDescription
AllAn array of all the currently supported runtimes
DOTNET5_X64Runtime for .NET 5.0 Desktop Runtime (x64)
DOTNET5_X86Runtime for .NET 5.0 Desktop Runtime (x86)
DOTNET6_ARM64Runtime for .NET 6.0 Desktop Runtime (arm64)
DOTNET6_X64Runtime for .NET 6.0 Desktop Runtime (x64)
DOTNET6_X86Runtime for .NET 6.0 Desktop Runtime (x86)
DOTNET7_ARM64Runtime for .NET 7.0 Desktop Runtime (arm64)
DOTNET7_X64Runtime for .NET 7.0 Desktop Runtime (x64)
DOTNET7_X86Runtime for .NET 7.0 Desktop Runtime (x86)
DOTNET8_ARM64Runtime for .NET 8.0 Desktop Runtime (arm64)
DOTNET8_X64Runtime for .NET 8.0 Desktop Runtime (x64)
DOTNET8_X86Runtime for .NET 8.0 Desktop Runtime (x86)
DOTNETCORE31_X64Runtime for .NET Core 3.1 Desktop Runtime (x64)
DOTNETCORE31_X86Runtime for .NET Core 3.1 Desktop Runtime (x86)
NETFRAMEWORK45Runtime for .NET Framework 4.5
NETFRAMEWORK451Runtime for .NET Framework 4.5.1
NETFRAMEWORK452Runtime for .NET Framework 4.5.2
NETFRAMEWORK46Runtime for .NET Framework 4.6
NETFRAMEWORK461Runtime for .NET Framework 4.6.1
NETFRAMEWORK462Runtime for .NET Framework 4.6.2
NETFRAMEWORK47Runtime for .NET Framework 4.7
NETFRAMEWORK471Runtime for .NET Framework 4.7.1
NETFRAMEWORK472Runtime for .NET Framework 4.7.2
NETFRAMEWORK48Runtime for .NET Framework 4.8
NETFRAMEWORK481Runtime for .NET Framework 4.8.1
VCREDIST100_X64Runtime for Visual C++ 2010 Redistributable (x64)
VCREDIST100_X86Runtime for Visual C++ 2010 Redistributable (x86)
VCREDIST110_X64Runtime for Visual C++ 2012 Redistributable (x64)
VCREDIST110_X86Runtime for Visual C++ 2012 Redistributable (x86)
VCREDIST120_X64Runtime for Visual C++ 2013 Redistributable (x64)
VCREDIST120_X86Runtime for Visual C++ 2013 Redistributable (x86)
VCREDIST140_X64Runtime for Visual C++ 2015 Redistributable (x64)
VCREDIST140_X86Runtime for Visual C++ 2015 Redistributable (x86)
VCREDIST141_X64Runtime for Visual C++ 2017 Redistributable (x64)
VCREDIST141_X86Runtime for Visual C++ 2017 Redistributable (x86)
VCREDIST142_X64Runtime for Visual C++ 2019 Redistributable (x64)
VCREDIST142_X86Runtime for Visual C++ 2019 Redistributable (x86)
VCREDIST143_ARM64Runtime for Visual C++ 2022 Redistributable (arm64)
VCREDIST143_X64Runtime for Visual C++ 2022 Redistributable (x64)
VCREDIST143_X86Runtime for Visual C++ 2022 Redistributable (x86)

Methods

NameDescription
GetRuntimeByName(string)Search for a runtime by name. If a platform architecture is not specified, the default is x64. Returns null if no match is found.

Nested Types

NameDescription
Runtimes.DotnetInfoRepresents a modern DOTNET runtime where versions are deployed independenly of the operating system
Runtimes.DotnetRuntimeTypeDotnet Runtime SKU
Runtimes.FrameworkInfoRepresents a full .NET Framework runtime, usually included in Windows automatically through Windows Update
Runtimes.RuntimeInfoBase type containing information about a runtime in relation to the current operating system
Runtimes.RuntimeInstallResultRuntime installation result code
Runtimes.VCRedist00Represents a VC++ redistributable package which is referenced by a permalink
Runtimes.VCRedist14Represents a VC++ 2015-2022 redistributable package.
Runtimes.VCRedistInfoThe base class for a VC++ redistributable package.

Documentation generated by MdDocs