VelopackRuntimeInfo Class
Namespace: Velopack
Assembly: Velopack
Assembly Version: 0.0.942+a011233
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
Name | Description |
---|---|
EntryExePath | The path on disk of the entry assembly. |
IsLinux | True if executing on a Linux platform. |
IsOSX | True if executing on a MacOS / OSX platform. |
IsWindows | True if executing on a Windows platform. |
SystemArch | The current machine architecture, ignoring the current process / pe architecture. |
SystemOs | The name of the current OS - eg. 'windows', 'linux', or 'osx'. |
SystemRid | The current system RID. |
VelopackDisplayVersion | The current compiled Velopack display version. |
VelopackNugetVersion | The current compiled Velopack NuGetVersion. |
VelopackProductVersion | The current compiled Velopack ProductVersion. |
Methods
Name | Description |
---|---|
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