Mono Class Library: Mono.Unix.UnixEnvironment Overview | Members

Mono.Unix.UnixEnvironment.GetConfigurationValue Method

Retrieve the value of the configurable system limit or option value name.

[System.CLSCompliant(false)]
public static long GetConfigurationValue (Mono.Unix.Native.SysconfName name)

See Also

Mono.Unix.Native.Syscall.sysconf

Parameters

name
A Mono.Unix.Native.SysconfName value containing the configurable system limit or option variable to lookup.

Returns

A long containing the value of the configurable system limit or option value name.

Exceptions

TypeReason
ArgumentException The value of the name argument is invalid. [Mono.Unix.Native.Errno.EINVAL]

Remarks

This method provides a way for applications to determine the current value of a configurable system limit or option variable. The name argument specifies the system variable to be queried.

Requirements

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