Method SetProperty
SetProperty(String, String)
Creates, modifies, or deletes an environment variable stored in the current process.
Declaration
public static void SetProperty(string key, string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The name of the environment variable. |
System.String | value | The new environment variable value. |