Export (0) Print
Expand All

RC2.Create Method

Creates an instance of a cryptographic object to perform the RC2 algorithm.

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

static member Create : unit -> RC2

Return Value

Type: System.Security.Cryptography.RC2
An instance of a cryptographic object.

ExceptionCondition
TargetInvocationException

The algorithm was used with Federal Information Processing Standards (FIPS) mode enabled, but is not FIPS compatible.

Use this method to create an instance of the RC2 class that you can use to encrypt and decrypt data.

The following example shows how to create and use an RC2 object to encrypt and decrypt data in a file.

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

The following example shows how to create and use an RC2 object to encrypt and decrypt data in memory.

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft