public static void LoadBaseConfigurationFile(string aFileName)
        {
            _manager = new DeviceConfigurationManager();
            var deviceConfig = File.ReadAllText(aFileName);

            _manager.LoadOrAppendConfigurationObject(deviceConfig);
        }
        /// <summary>
        /// Loads JSON configuration file from the configuration packed with the library on compilation.
        /// </summary>
        public static void LoadBaseConfigurationFromResource()
        {
            _manager = new DeviceConfigurationManager();
            var deviceConfig = ButtplugUtils.GetStringFromFileResource("B******g.b******g-device-config.json");

            _manager.LoadOrAppendConfigurationObject(deviceConfig);
        }
 /// <summary>
 /// Clears the manager. Used for testing only.
 /// </summary>
 internal static void Clear()
 {
     _manager = null;
 }