TryFromOid()

HashAlgorithmName::TryFromOid(const String&, HashAlgorithmName&) method

Try to create HashAlgorithmName from OID-value.

static bool System::Security::Cryptography::HashAlgorithmName::TryFromOid(const String &oid_value, HashAlgorithmName &value)

Arguments

ParameterTypeDescription
oid_valueconst String&OID value.
valueHashAlgorithmName&Output HashAlgorithmName.

Return Value

true if specified OID is a valid hash algorithm, otherwise - false.

See Also