| 123456789101112131415161718192021 |
- // Licensed to the .NET Foundation under one or more agreements.
- // The .NET Foundation licenses this file to you under the MIT license.
- // See the LICENSE file in the project root for more information.
- using System.Diagnostics;
- using System.Collections;
- using Microsoft.Win32;
- namespace System
- {
- public static partial class Environment
- {
- // Systems without the Windows registry pretend that it's always empty.
- private static string GetEnvironmentVariableFromRegistry(string variable, bool fromMachine) => null;
- private static void SetEnvironmentVariableFromRegistry(string variable, string value, bool fromMachine) { }
- private static IDictionary GetEnvironmentVariablesFromRegistry(bool fromMachine) => new Hashtable();
- }
- }
|