RuntimeInformation Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides information about the .NET runtime installation.
public ref class RuntimeInformation abstract sealed
public static class RuntimeInformation
type RuntimeInformation = class
Public Class RuntimeInformation
- Inheritance
-
RuntimeInformation
Framework |
Gets the name of the .NET installation on which an app is running. |
OSArchitecture |
Gets the platform architecture on which the current app is running. |
OSDescription |
Gets a string that describes the operating system on which the app is running. |
Process |
Gets the process architecture of the currently running app. |
Runtime |
Gets the platform for which the runtime was built (or on which an app is running). |
Is |
Indicates whether the current application is running on the specified platform. |
Продукт | Версии |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 1.1, 1.2, 1.3, 1.4, 1.6, 2.0, 2.1 |
Обратна връзка за .NET
.NET е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: