Environment.SystemDirectory : Environment Settings « Development Class « C# / C Sharp

Home
C# / C Sharp
1.2D Graphics
2.Class Interface
3.Collections Data Structure
4.Components
5.Data Types
6.Database ADO.net
7.Date Time
8.Design Patterns
9.Development Class
10.Event
11.File Stream
12.Generics
13.GUI Windows Form
14.Internationalization I18N
15.Language Basics
16.LINQ
17.Network
18.Office
19.Reflection
20.Regular Expressions
21.Security
22.Services Event
23.Thread
24.Web Services
25.Windows
26.Windows Presentation Foundation
27.XML
28.XML LINQ
C# / C Sharp » Development Class » Environment SettingsScreenshots 
Environment.SystemDirectory
     

using System;

class MainClass {
    public static void Main() {
        Console.WriteLine("System folder : " + Environment.SystemDirectory);
    }
}

   
    
    
    
  
Related examples in the same category
1.Environment Variables for Simple Security TasksEnvironment Variables for Simple Security Tasks
2.Get Startup path, application name and vendorGet Startup path, application name and vendor
3..NET Frameworks Overview:Accessing Environment Settings.NET Frameworks Overview:Accessing Environment Settings
4.Environment.GetEnvironmentVariable
5.Environment.ExpandEnvironmentVariables
6.Environment.GetEnvironmentVariables(EnvironmentVariableTarget.Process)
7.Environment.CommandLine, Environment.GetCommandLineArgs()
8.Environment.GetFolderPath
9.Environment.SpecialFolder
10.Environment.CommandLine
11.Environment.OSVersion
12.Environment.Version
13.Environment.UserName
14.Environment.UserDomainName
15.Environment.MachineName
16.Environment.UserInteractive
17.Environment.HasShutdownStarted
18.Environment.TickCount
19.Environment.GetLogicalDrives
20.Environment.CurrentDirectory
21.Is 2003 Vista Or Greater
22.Environment Class
23.Gets the command line for this process.
24.Gets or sets the fully qualified path of the current working directory.
25.Terminates this process and gives the underlying operating system the specified exit code.
26.Gets or sets the exit code of the process.
27.Replaces the name of each environment variable embedded in string
28.Immediately terminates a process after writing a message to the Windows Application event log
29.Returns a string array containing the command-line arguments for the current process.
30.Retrieves the value of an environment variable from the current process.
31.Retrieves all environment variable names and their values from the current process.
32.Gets the path to the system special folder that is identified by the specified enumeration.
33.Get the names of the logical drives on the current computer.
34.Gets the NetBIOS name of this local computer.
35.Gets the newline string defined for this environment.
36.Gets current platform identifier and version number.
37.Gets the number of processors on the current machine.
38.Gets current stack trace information.
39.Gets the fully qualified path of the system directory.
40.Gets the number of milliseconds elapsed since the system started.
41.Gets network domain name associated with the current user.
42.Is running in user interactive mode.
43.Gets user name
44.Gets a Version object that describes the major, minor, build, and revision numbers of the common language runtime.
45.Gets the amount of physical memory mapped to the process context.
46.Xml based configuration
47.FindExecutable
48.Contains a listing of constants used throughout the application
49.Is Flag Set In the Command Line
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.