System.Security.Cryptography.RSACryptoServiceProvider.AcquireSafeProviderHandle C# (CSharp) Метод

AcquireSafeProviderHandle() приватный Метод

This method helps Acquire the default CSP and avoids the need for static SafeProvHandle in CapiHelper class
private AcquireSafeProviderHandle ( ) : System.Security.Cryptography.SafeProvHandle
Результат System.Security.Cryptography.SafeProvHandle
        private SafeProvHandle AcquireSafeProviderHandle()
        {
            SafeProvHandle safeProvHandle;
            CapiHelper.AcquireCsp(new CspParameters(CapiHelper.DefaultRsaProviderType), out safeProvHandle);
            return safeProvHandle;
        }