संपादित करें

इसके माध्यम से साझा किया गया


RuntimeInformation Class

Definition

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