aspx_beginners thread: RSACryptoServiceProvider Error
System.Security.Cryptography.CryptographicException: CryptoAPI cryptographic service provider (CSP) for this implementation could not be acquired. Any ideas why I would be getting this? Thanks Deepak
try this
CspParameters csp=new CspParameters();
csp.Flags=CspProviderFlags.UseMachineKeyStore;
RSACryptoServiceProvider rsa1 = new RSACryptoServiceProvider(csp);
> System.Security.Cryptography.CryptographicException: CryptoAPI
cryptographic
service provider (CSP) for this implementation could not be acquired.
Any ideas why I would be getting this?
Thanks
Deepak
|





