InMemorySymmetricSecurityKey.GetSymmetricAlgorithm(String) 方法

定义

获取指定对称算法的实例。

public:
 override System::Security::Cryptography::SymmetricAlgorithm ^ GetSymmetricAlgorithm(System::String ^ algorithm);
public override System.Security.Cryptography.SymmetricAlgorithm GetSymmetricAlgorithm (string algorithm);
override this.GetSymmetricAlgorithm : string -> System.Security.Cryptography.SymmetricAlgorithm
Public Overrides Function GetSymmetricAlgorithm (algorithm As String) As SymmetricAlgorithm

参数

algorithm
String

要获取其实例的对称算法。

返回

一个表示对称算法的 SymmetricAlgorithm

例外

适用于