Method | Description | |
---|---|---|
GetConfigurationValue ( string configFileName, string key ) : string |
Gets the configuration value of the requested key.
|
|
ReadConfigurationValue ( string path, string key ) : string |
Opens a configuration files and gets the configuration value of the requested key.
|
|
SetConfigurationValue ( string path, string key, string value ) : void |
Saves appSettings key configuration on the requested file.
|
public static GetConfigurationValue ( string configFileName, string key ) : string | ||
configFileName | string | The name of the configuration file. |
key | string | The configuration key to find. |
return | string |
public static ReadConfigurationValue ( string path, string key ) : string | ||
path | string | The physical path to the configuration file. |
key | string | The configuration key to find. |
return | string |
public static SetConfigurationValue ( string path, string key, string value ) : void | ||
path | string | Path to configuration file. |
key | string | The key to edit. |
value | string | The value to edit the key with. |
return | void |