SetHashAlgorithm Method
Collapse the table of content
Expand the table of content

AsymmetricSignatureFormatter.SetHashAlgorithm Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

When overridden in a derived class, sets the hash algorithm to use for creating the signature.

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

public abstract void SetHashAlgorithm(
	string strName
)

Parameters

strName
Type: System.String
The name of the hash algorithm to use for creating the signature.

You must set a hash algorithm before calling an implementation of CreateSignature.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft