共用方式為


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,表示對稱演算法。

例外狀況

適用於