RuntimeInformation Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Fournit des informations sur l’installation du runtime .NET.
public ref class RuntimeInformation abstract sealed
public static class RuntimeInformation
type RuntimeInformation = class
Public Class RuntimeInformation
- Héritage
-
RuntimeInformation
Propriétés
| Nom | Description |
|---|---|
| FrameworkDescription |
Obtient le nom de l’installation .NET sur laquelle une application est en cours d’exécution. |
| OSArchitecture |
Obtient l’architecture de plateforme sur laquelle l’application actuelle est en cours d’exécution. |
| OSDescription |
Obtient une chaîne qui décrit le système d’exploitation sur lequel l’application est en cours d’exécution. |
| ProcessArchitecture |
Obtient l’architecture de processus de l’application en cours d’exécution. |
Méthodes
| Nom | Description |
|---|---|
| IsOSPlatform(OSPlatform) |
Indique si l’application actuelle est en cours d’exécution sur la plateforme spécifiée. |