Create Method
Collapse the table of content
Expand the table of content

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.

Exception Condition
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.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft