You'll need access to the System.Configuration dll to reference this. In an initialization routine, get your system.configurationmanager to read all the values from your config file and assing them to static string variables.