CngAlgorithmGroup(String) 建構函式

定義

初始化 CngAlgorithmGroup 類別的新執行個體。

public:
 CngAlgorithmGroup(System::String ^ algorithmGroup);
public CngAlgorithmGroup (string algorithmGroup);
new System.Security.Cryptography.CngAlgorithmGroup : string -> System.Security.Cryptography.CngAlgorithmGroup
Public Sub New (algorithmGroup As String)

參數

algorithmGroup
String

要初始化的演算法群組名稱。

例外狀況

algorithmGroup 參數為 null

algorithmGroup 參數長度為 0 (零)。

備註

類別的 CngAlgorithmGroup 實例會在內部維護 參數所 algorithmGroup 指定的演算法組名。

此建構函式的主要用途是提供方法,以便為類別的靜態屬性未表示的 CngAlgorithmGroup 演算法群組建立 CngAlgorithmGroup 物件。 此容量可讓未來的.NET Framework版本、Service Pack 和協力廠商開發人員新增演算法群組,這可以存取,就像目前可用的演算法群組一樣。

適用於