Table of Contents

Method GetEnvironmentVariable

Namespace
VectorDraw.Professional.vdObjects
Assembly
VectorDraw.Professional.dll

GetEnvironmentVariable(string)

Retrieves the value of an environment variable from the current process.

public string GetEnvironmentVariable(string variable)

Parameters

variable string

The name of the environment variable. If variable = "LITECONVERTER" return value can be 0 the File Converter is not installed and 1 if it is installed.

Returns

string

The value of the environment variable specified by variable, or "" if the environment variable is not found.