Click or drag to resize

NeonServiceGetEnvironmentVariable Method

Returns the value of an environment variable.

Namespace:  Neon.Service
Assembly:  Neon.Service (in Neon.Service.dll) Version: 2.14.0
public string GetEnvironmentVariable(
	string name,
	string def = null


Type: SystemString
The environment variable name (case sensitive).
def (Optional)
Type: SystemString
The value to be returned when the environment variable doesn't exist (defaults to null).

Return Value

Type: String
The variable value or def if the variable doesn't exist.
See Also