asp.net.ph

Environment Class

System Namespace


Provides information about, and means to manipulate, the current environment and platform.

Environment Class Members

Collapse   Properties

Visibility Name Value Type Accessibility
public static CommandLine String [ Get ]
public static CurrentDirectory String [ Get , Set ]
public static CurrentManagedThreadId Int32 [ Get ]
public static ExitCode Int32 [ Get , Set ]
public static HasShutdownStarted Boolean [ Get ]
public static Is64BitOperatingSystem Boolean [ Get ]
public static Is64BitProcess Boolean [ Get ]
public static MachineName String [ Get ]
public static NewLine String [ Get ]
public static OSVersion OperatingSystem [ Get ]
public static ProcessorCount Int32 [ Get ]
public static StackTrace String [ Get ]
public static SystemDirectory String [ Get ]
public static SystemPageSize Int32 [ Get ]
public static TickCount Int32 [ Get ]
public static UserDomainName String [ Get ]
public static UserInteractive Boolean [ Get ]
public static UserName String [ Get ]
public static Version Version [ Get ]
public static WorkingSet Int64 [ Get ]

Collapse   Methods

Visibility Name Parameters Return Type
public static Exit ( Int32 exitCode ) Void
public static ExpandEnvironmentVariables ( String name ) String
public static FailFast ( String message , Exception exception ) Void
public static FailFast ( String message ) Void
public static GetCommandLineArgs ( ) String
public static GetEnvironmentVariable ( String variable , EnvironmentVariableTarget target ) String
public static GetEnvironmentVariable ( String variable ) String
public static GetEnvironmentVariables ( EnvironmentVariableTarget target ) IDictionary
public static GetEnvironmentVariables ( ) IDictionary
public static GetFolderPath ( SpecialFolder folder ) String
public static GetFolderPath ( SpecialFolder folder , SpecialFolderOption option ) String
public static GetLogicalDrives ( ) String
public static SetEnvironmentVariable ( String variable , String value ) Void
public static SetEnvironmentVariable ( String variable , String value , EnvironmentVariableTarget target ) Void
Skip Navigation Links



Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph