CngAlgorithmGroup Constructor (String)

 

Initializes a new instance of the CngAlgorithmGroup class.

Namespace:   System.Security.Cryptography
Assembly:  System.Core (in System.Core.dll)

public CngAlgorithmGroup(
	string algorithmGroup
)

Parameters

algorithmGroup
Type: System.String

The name of the algorithm group to initialize.

Exception Condition
ArgumentNullException

The algorithmGroup parameter is null.

ArgumentException

The algorithmGroup parameter length is 0 (zero).

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.

.NET Framework
Available since 3.5
Return to top
Show: