Skip to main content

VelopackRuntimeInfo Class

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

Convenience class which provides runtime information about the current executing process, in a way that is safe in older and newer versions of the framework.

public static class VelopackRuntimeInfo

Inheritance: object → VelopackRuntimeInfo

Properties

NameDescription
EntryExePathThe path on disk of the entry assembly.
IsLinuxTrue if executing on a Linux platform.
IsOSXTrue if executing on a MacOS / OSX platform.
IsWindowsTrue if executing on a Windows platform.
SystemArchThe current machine architecture, ignoring the current process / pe architecture.
SystemOsThe name of the current OS - eg. 'windows', 'linux', or 'osx'.
SystemRidThe current system RID.
VelopackDisplayVersionThe current compiled Velopack display version.
VelopackNugetVersionThe current compiled Velopack NuGetVersion.
VelopackProductVersionThe current compiled Velopack ProductVersion.

Methods

NameDescription
GetOsLongName(RuntimeOs)Returns the long OS name, suitable for showing to a human.
GetOsShortName(RuntimeOs)Returns the shortened OS name as a string, suitable for creating an RID.

Documentation generated by MdDocs