Bewerken

Share via


CngAlgorithmGroup(String) Constructor

Definition

Initializes a new instance of the CngAlgorithmGroup class.

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)

Parameters

algorithmGroup
String

The name of the algorithm group to initialize.

Exceptions

The algorithmGroup parameter is null.

The algorithmGroup parameter length is 0 (zero).

Remarks

Instances of the CngAlgorithmGroup class internally maintain the algorithm group name that is specified by the algorithmGroup parameter.

The primary purpose of this constructor is to provide a method for creating CngAlgorithmGroup objects for algorithm groups that are not represented by the static properties of the CngAlgorithmGroup class. This capacity enables future .NET Framework releases, service packs, and third-party developers to add new algorithm groups, which can be accessed just like the algorithm groups that are currently available.

Applies to