Exemple #1
0
        /// <summary>
        /// Get All Configuration Data
        /// </summary>
        public void GetAllConfigurationData()
        {
            // Create the manager with the api key
            var route4Me = new Route4MeManager(ActualApiKey);

            var @params = new MemberConfigurationParameters();

            // Run the query
            MemberConfigurationDataResponse result = route4Me
                                                     .GetConfigurationData(@params, out string errorString);

            PrintConfigKey(result, errorString);
        }
        /// <summary>
        /// Get Specific Configuration Key Value (v4)
        /// </summary>
        public void GetSpecificConfigurationKeyData()
        {
            // Create the manager with the api key
            var route4Me = new Route4MeManager(ActualApiKey);

            CreateConfigKey();

            string newConfigKey = configKeysToRemove[configKeysToRemove.Count - 1];

            var @params = new MemberConfigurationParameters {
                config_key = newConfigKey
            };

            // Run the query
            MemberConfigurationDataResponse result = route4Me
                                                     .GetConfigurationData(@params, out string errorString);

            PrintConfigKey(result, errorString);

            RemoveConfigKeys();
        }