MACTripleDES Constructor (array<Byte>^)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the MACTripleDES class with the specified key data.

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

public:
MACTripleDES(
	array<unsigned char>^ rgbKey
)

Parameters

rgbKey
Type: array<System::Byte>^

The secret key for MACTripleDES encryption.

Exception Condition
ArgumentNullException

The rgbKey parameter is null.

This constructor uses the default implementation of TripleDES. The rgbKey parameter must be 16 or 24 bytes in length.

For an example of how to use this constructor, see the MACTripleDES class.

.NET Framework
Available since 1.1
Return to top
Show: