System::Security::Cryptography::RSACryptoServiceProvider::set_UseMachineKeyStore 方法

RSACryptoServiceProvider::set_UseMachineKeyStore method

定义密钥是否持久化在机器存储区而非用户存储区。

static void System::Security::Cryptography::RSACryptoServiceProvider::set_UseMachineKeyStore(bool value)
参数类型描述
bool如果密钥应持久化在机器存储区则为 true,若应持久化在用户存储区则为 false。

另见