Method | Description | |
---|---|---|
CreateKey ( string base64String ) : |
Creates the RSACryptoServiceProvider from the given base64 encoded key.
|
|
CreateSettings ( string serverID, string serverKey, string systemKey ) : |
Creates the a NameValueCollection configuration settings.
|
|
HostSecureConfig ( ) : System | ||
HostSecureConfig ( |
Method | Description | |
---|---|---|
Initialize ( |
Initializes config with the given values and optionally protects it.
|
|
ProtectConfig ( ) : void |
Protects the configuration using the RsaProtectedConfigurationProvider.
|
|
SaveConfig ( |
Saves the given secure settings into XML configuration file called FileName.
|
Method | Description | |
---|---|---|
EnsureSecureConfigFileExists ( ) : void |
public static CreateKey ( string base64String ) : |
||
base64String | string | The base64 encoded key. |
return |
public static CreateSettings ( string serverID, string serverKey, string systemKey ) : |
||
serverID | string | The server ID. |
serverKey | string | The server key. |
systemKey | string | The system key. |
return |
public HostSecureConfig ( |
||
settings | ||
shouldProtectConfig | bool | |
return | System |
protected Initialize ( |
||
settings | The settings to be loaded. | |
shouldProtectConfig | bool | true if the configuration should be protected; false otherwise. |
return | void |
protected SaveConfig ( |
||
secureSettings | The settings to be saved. | |
return | void |