Version of ReadKeysFromConfig that reads and writes an external Config file
that is not controlled through the ConfigurationSettings class.
public Void ReadKeysFromConfig(String Filename)
Return Value
Void
Parameters
Filename
The filename to read from. If the file doesn't exist it is created if permissions are available
Example
// *** Overridden constructor public WebStoreConfig() { this.SetEnryption("ConnectionString,MailPassword, MerchantPassword","WebStorePassword"); // *** Use a custom Config file this.ReadKeysFromConfig(@"d:\projects\wwWebStore\MyConfig.config"); } App.Configuration = new WebStoreConfig(); ... later in your code when you need to write // *** Configuration remembers the file you used earlier App.Configuration.WriteKeysToConfig();
Overloads:
public Void ReadKeysFromConfig()
public static wwAppConfiguration ReadKeysFromConfig(Type ConfigType)
public static wwAppConfiguration ReadKeysFromConfig(String Filename,Type ConfigType)
See also:
Class wwAppConfiguration© West Wind Technologies, 1996-2018 • Updated: 04/21/04
Comment or report problem with topic