RC2CryptoServiceProvider Constructor ()

 
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 RC2CryptoServiceProvider class.

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

public:
RC2CryptoServiceProvider()

Exception Condition
CryptographicException

The cryptographic service provider (CSP) cannot be acquired.

InvalidOperationException

A non-compliant FIPS algorithm was found.

The following code example encrypts and then decrypts a string.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: