Méthode | 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 ( |
Méthode | 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.
|
Méthode | Description | |
---|---|---|
EnsureSecureConfigFileExists ( ) : void |
public static CreateKey ( string base64String ) : |
||
base64String | string | The base64 encoded key. |
Résultat |
public static CreateSettings ( string serverID, string serverKey, string systemKey ) : |
||
serverID | string | The server ID. |
serverKey | string | The server key. |
systemKey | string | The system key. |
Résultat |
public HostSecureConfig ( |
||
settings | ||
shouldProtectConfig | bool | |
Résultat | System |
protected Initialize ( |
||
settings | The settings to be loaded. | |
shouldProtectConfig | bool | true if the configuration should be protected; false otherwise. |
Résultat | void |
protected SaveConfig ( |
||
secureSettings | The settings to be saved. | |
Résultat | void |