System.Security.Cryptography.DSACryptoServiceProvider.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.DefaultDssProviderType), out safeProvHandle);
            return safeProvHandle;
        }