Пример #1
0
        public void AddPathValue(PathValue pathValue)
        {
            var working = path;

            if (working.Contains(pathValue.Path))
            {
            }
            else
            {
                working = working + $";{pathValue.Path}";
            }

            Environment.SetEnvironmentVariable("Path", working, EnvironmentVariableTarget.Machine);
        }
Пример #2
0
 public void AddEntry(PathValue value)
 {
 }