Answers for "c# open config file by path"

C#
0

c# open config file by path

System.Configuration.ConfigurationFileMap fileMap = new ConfigurationFileMap("Z:\Settings\appSettings.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