Mono Class Library: Mono.Unix.Native.Stdlib Overview | Members

Mono.Unix.Native.Stdlib.getenv Method

Read an environment variable. [Edit]

public static string getenv (string name)

Parameters

name
The environment variable to read. [Edit]

Returns

The getenv() function returns the value of the environment variable as a string. If the variable name is not in the current environment, null is returned. [Edit]

Remarks

The getenv() function obtains the current value of the environment variable, name. [Edit]

Requirements

Namespace: Mono.Unix.Native
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0