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