System\Security\Cryptography\X509Certificates\ECDsaCertificateExtensions.cs (5)
316BCryptNative.ErrorCode errorCode = BCryptNative.UnsafeNativeMethods.BCryptGetProperty(cryptHandle, propertyName, null, 0, out numBytesNeeded, 0);
317if (errorCode != BCryptNative.ErrorCode.Success)
322if (errorCode != BCryptNative.ErrorCode.Success)
337BCryptNative.ErrorCode errorCode = BCryptNative.UnsafeNativeMethods.BCryptGetProperty(cryptHandle, propertyName, null, 0, out numBytesNeeded, 0);
338return errorCode == BCryptNative.ErrorCode.Success && numBytesNeeded > 0;