Answers for "read file .config c#"

C#
0

get value from config file c#

System.Configuration.ConfigurationManager.AppSettings[key];
Posted by: Guest on October-11-2021
0

c# open config file by path

System.Configuration.ConfigurationFileMap fileMap = new ConfigurationFileMap("Z:SettingsappSettings.config"); //Path to your config file

 System.Configuration.Configuration configuration = System.Configuration.ConfigurationManager.OpenMappedMachineConfiguration(fileMap);
Posted by: Guest on April-27-2021

C# Answers by Framework

Browse Popular Code Answers by Language