Environment

package cs.system

Available on cs

Static variables

staticread onlyCommandLine:String

staticCurrentDirectory:String

staticExitCode:Int

staticread onlyHasShutdownStarted:Bool

staticread onlyMachineName:String

staticread onlyNewLine:String

staticread onlyOSVersion:OperatingSystem

staticread onlyProcessorCount:Int

staticread onlyStackTrace:String

staticread onlySystemDirectory:String

staticread onlyTickCount:Int

staticread onlyUserDomainName:String

staticread onlyUserInteractive:Bool

staticread onlyUserName:String

staticread onlyVersion:Version

staticread onlyWorkingSet:Int64

Static methods

staticExit(exitCode:Int):Void

staticExpandEnvironmentVariables(name:String):String

staticFailFast(message:String):Void

staticGetCommandLineArgs():NativeArray<String>

staticGetEnvironmentVariable(variable:String):String

staticGetEnvironmentVariable(variable:String, target:EnvironmentVariableTarget):String

staticGetEnvironmentVariables():IDictionary

staticGetEnvironmentVariables(target:EnvironmentVariableTarget):IDictionary

staticGetFolderPath(folder:Environment_SpecialFolder):String

staticGetLogicalDrives():NativeArray<String>

staticSetEnvironmentVariable(variable:String, value:String):Void

staticSetEnvironmentVariable(variable:String, value:String, target:EnvironmentVariableTarget):Void

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/Environment.html