Problem with Image Loading (General questions)
How do I get an image to load after decrypting it to a memblob ?
here is where I am right now:
Dim crypt As New wodCryptCom
crypt.LicenseKey = ****-****-****-****
crypt.Optimized = False
Dim in_blob As New MemBlob
Dim out_blob As New MemBlob
crypt.Type = CryptoTypes.AES256
crypt.SecretKey = Key_tb.Text
in_blob.FromFile(curFilePath)
crypt.Decrypt(in_blob, out_blob )
Dim Img As Image
Img = Image.FromStream(out_blob )
PictureBox1.Image = Img
I don't understand why this doesn't work,
any help would be appreciated,
Thanks,
[:wink:]