Name

RuntimeEnvironment

Synopsis

This type exposes static methods you can use to get information about the CLR’s environment.

public class RuntimeEnvironment {
// Public Constructors
   public RuntimeEnvironment( );
// Public Static Properties
   public static string SystemConfigurationFile{get; }
// Public Static Methods
   public static bool FromGlobalAccessCache(System.Reflection.Assembly a);
   public static string GetRuntimeDirectory( );
   public static string GetSystemVersion( );
}

Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.