If a Windows runtime type raises a COM error .NET seems to wrap this error often (or always?) just into an Exception instance. The error message includes the COM HRESULT error code. When using the new Cryptographic API with AES-CBC for example a wrong buffer length results in an Exception [...] read more
I am developing an app in windows 8.1 ,which I want to decrypt an image which was encrypt in "AES/CBC/PKCS5Padding" . I used "SymmetricAlgorithmNames.AesCbcPkcs7" foe decryption but I am getting an error "The supplied user buffer is not valid for the requested operation. (Exception from HRESULT: 0x800706F8)" please help me [...] read more