[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Converts a hash algorithm string representation to a WinCrypt-recognized algorithm ID

Namespace:  Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

                 
  C#     Visual Basic     Visual C++  
public 
static 
uint 
HashAlgorithmToAlgId(
	
string 
algorithm
)
Public 
Shared 
Function 
HashAlgorithmToAlgId ( _
	
algorithm 
As 
String _
) 
As 
UInteger
public:
static 
unsigned int 
HashAlgorithmToAlgId(
	
String^ 
algorithm
)

Parameters

algorithm
String
Algorithm name to convert to AlgID representation

Return Value

Crypto API algorithm ID

See Also