Hi,
Im trying to encrypt file with public key via class" RSACryptoServiceProvider"getting exception:

System.Security.Cryptography.CryptographicException: Direct Encryption and decry
ption using RSA OAEP padding are not available on this platform.
at System.Security.Cryptography.RSACryptoServiceProvider._EncryptPKWin2KEnh(I
ntPtr hPubKey, Byte[] rgbKey, Boolean fOAEP)

i really don't understand these exceptions..

Cheer's

Malik