var values = new NameValueCollection { { \"key\", ConfigurationSettings.AppSettings[\"API-Key\"].ToString() }, { \"image\", Convert.ToBase64String(File.ReadA
The new class to use is the ConfigurationManager class.