RuntimeInformation RuntimeInformation RuntimeInformation RuntimeInformation Class

定义

提供有关 .NET 运行时安装的信息。Provides information about the .NET runtime installation.

public ref class RuntimeInformation abstract sealed
public static class RuntimeInformation
type RuntimeInformation = class
Public Class RuntimeInformation
继承
RuntimeInformationRuntimeInformationRuntimeInformationRuntimeInformation

属性

FrameworkDescription FrameworkDescription FrameworkDescription FrameworkDescription

返回一个字符串,指示正在其上运行应用的 .NET 安装的名称。Returns a string that indicates the name of the .NET installation on which an app is running.

OSArchitecture OSArchitecture OSArchitecture OSArchitecture

获取正在其上运行当前应用的平台体系结构。Gets the platform architecture on which the current app is running.

OSDescription OSDescription OSDescription OSDescription

获取一个字符串,描述正在其上运行应用的操作系统。Gets a string that describes the operating system on which the app is running.

ProcessArchitecture ProcessArchitecture ProcessArchitecture ProcessArchitecture

获取当前正在运行的应用的进程架构。Gets the process architecture of the currently running app.

方法

IsOSPlatform(OSPlatform) IsOSPlatform(OSPlatform) IsOSPlatform(OSPlatform) IsOSPlatform(OSPlatform)

指示当前应用程序是否正在指定平台上运行。Indicates whether the current application is running on the specified platform.

适用于