RuntimeInformation Class
Definition
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
Properties
FrameworkDescription |
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. |
ProcessArchitecture |
Gets the process architecture of the currently running app. |
RuntimeIdentifier |
Gets the platform for which the runtime was built (or on which an app is running). |
Methods
IsOSPlatform(OSPlatform) |
Indicates whether the current application is running on the specified platform. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om