System.Runtime.InteropServices.RuntimeEnvironment�Class

Assembly: Mscorlib.dll
Namespace: System.Runtime.InteropServices
Summary
Provides a collection of static methods that return information about the common language runtime environment.
C# Syntax:
public class RuntimeEnvironment
See also:
System.Runtime.InteropServices Namespace

System.Runtime.InteropServices.RuntimeEnvironment Member List:

Public�Constructors
ctor #1 Default constructor. This constructor is called by derived class constructors to initialize state in this type.
Public�Properties
SystemConfigurationFile Read-only

Gets the path to the system configuration file.
Public�Methods
Equals
(inherited from�System.Object)
See base class member description: System.Object.Equals

Derived from System.Object, the primary base class for all objects.
FromGlobalAccessCache
GetHashCode
(inherited from�System.Object)
See base class member description: System.Object.GetHashCode

Derived from System.Object, the primary base class for all objects.
GetRuntimeDirectory Gets the directory where the common language runtime is installed.
GetSystemVersion Gets the version number of the common language runtime that is running the current process.
GetType
(inherited from�System.Object)
See base class member description: System.Object.GetType

Derived from System.Object, the primary base class for all objects.
ToString
(inherited from�System.Object)
See base class member description: System.Object.ToString

Derived from System.Object, the primary base class for all objects.
Protected�Methods
Finalize
(inherited from�System.Object)
See base class member description: System.Object.Finalize

Derived from System.Object, the primary base class for all objects.
MemberwiseClone
(inherited from�System.Object)
See base class member description: System.Object.MemberwiseClone

Derived from System.Object, the primary base class for all objects.

Hierarchy:


System.Runtime.InteropServices.RuntimeEnvironment Member Details

ctor #1
Summary:
Default constructor. This constructor is called by derived class constructors to initialize state in this type.
C# Syntax:
public RuntimeEnvironment();

Return to top


Property: SystemConfigurationFile (read-only)
Summary
Gets the path to the system configuration file.
C# Syntax:
public static string�SystemConfigurationFile {get;}
.NET Framework Security:
FileIOPermission for accessing files and folders. Associated enumeration: FileIOPermissionAccess.PathDiscovery.

Return to top


Method: Equals(
���objectobj
)
Inherited
See base class member description: System.Object.Equals
C# Syntax:
public virtual bool�Equals(
���objectobj
);

For more information on members inherited from System.Object click on the link above.

Return to top


Method: Finalize()
Inherited
See base class member description: System.Object.Finalize
C# Syntax:
~RuntimeEnvironment();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: FromGlobalAccessCache(
���Assemblya
)
Summary
Tests whether the specified assembly is loaded in the global assembly cache (GAC).
C# Syntax:
public static bool�FromGlobalAccessCache(
���Assemblya
);
Parameters:

a

The assembly to determine if it is loaded in the GAC.

Return Value:
true if the assembly is loaded in the GAC; otherwise false.

Return to top


Method: GetHashCode()
Inherited
See base class member description: System.Object.GetHashCode
C# Syntax:
public virtual int�GetHashCode();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: GetRuntimeDirectory()
Summary
Gets the directory where the common language runtime is installed.
C# Syntax:
public static string�GetRuntimeDirectory();
Return Value:
A string containing the path to the directory where the common langauge runtime is installed.
.NET Framework Security:
FileIOPermission for accessing files and folders. Associated enumeration: FileIOPermissionAccess.PathDiscovery.

Return to top


Method: GetSystemVersion()
Summary
Gets the version number of the common language runtime that is running the current process.
C# Syntax:
public static string�GetSystemVersion();
Return Value:
A string containing the version number of the common language runtime.

Return to top


Method: GetType()
Inherited
See base class member description: System.Object.GetType
C# Syntax:
public Type�GetType();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: MemberwiseClone()
Inherited
See base class member description: System.Object.MemberwiseClone
C# Syntax:
protected object�MemberwiseClone();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: ToString()
Inherited
See base class member description: System.Object.ToString
C# Syntax:
public virtual string ToString();

For more information on members inherited from System.Object click on the link above.

Return to top


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.