416 {
417 string result = null;
418 if (
string.
Equals(wszProvider,
"Microsoft Base DSS and Diffie-Hellman Cryptographic Provider",
StringComparison.Ordinal))
419 {
420 if (
AcquireCryptContext(out var safeProvHandle,
null,
"Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider", dwProvType, 4026531840u) == 0)
421 {
422 result = "Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider";
423 }
424 safeProvHandle.Dispose();
425 }
426 return result;
427 }
static int AcquireCryptContext(out SafeProvHandle safeProvHandle, string keyContainer, string providerName, int providerType, uint flags)