Mono Class Library: System.Environment Overview | Members

System.Environment.SystemDirectory Property

Returns the 'System' directory for the Operating System.

public static string SystemDirectory { get; }

Value

The full path to the 'System' directory.

Remarks

This returns the System Folder for the Operating System. This is dependent on the Operating System.
  • On Windows: it returns the Windows System folder (e.g. C:\WinNT\System32).
  • On Non-Windows systems: It returns a blank string ("").

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0