Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SHA256::Create Method ()

 

Creates an instance of the default implementation of SHA256.

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

public:
static SHA256^ Create()

Return Value

Type: System.Security.Cryptography::SHA256^

A new instance of SHA256.

Exception Condition
TargetInvocationException

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

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft