RC2CryptoServiceProvider Constructor ()

 

Initializes a new instance of the RC2CryptoServiceProvider class.

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

new : unit -> 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: