FileSystemGetEnvironmentVariableValue Method |
Namespace: ABB.Robotics.Controllers.FileSystemDomain
public string GetEnvironmentVariableValue( string variable )
Controller c = new Controller(); FileSystem fs = c.FileSystem; //gets the value of "HOME" string envHome = fs.GetEnvironmentVariableValue("HOME"); //gets the value of "SYSTEM" string envSystem = fs.GetEnvironmentVariableValue("SYSTEM"); //gets the value of "INTERNAL" string envInternal = fs.GetEnvironmentVariableValue("INTERNAL"); //gets the value of "RELEASE" string envRelease = fs.GetEnvironmentVariableValue("RELEASE"); //gets the value of "TEMP" string envTemp = fs.GetEnvironmentVariableValue("TEMP"); fs.Dispose(); c.Dispose();