I am getting the following message and no, it is not even going to that
statement twice. Why is this happening?
System.NotSuppo rtedException was caught
Message="FlushF inalBlock() method was called twice on a CryptoStream. It
can only be called once."
Source="mscorli b"
StackTrace:
at System.Security .Cryptography.C ryptoStream.Flu shFinalBlock()
at TempCrypt.Crypt .DecryptString1 28Bit(String
vstrStringToBeD ecrypted, String vstrDecryptionK ey) in
D:\Projects\VB\ TempCrypt\TempC rypt\Crypt.vb:l ine 132
TIA,
--
Anil Gupte
statement twice. Why is this happening?
System.NotSuppo rtedException was caught
Message="FlushF inalBlock() method was called twice on a CryptoStream. It
can only be called once."
Source="mscorli b"
StackTrace:
at System.Security .Cryptography.C ryptoStream.Flu shFinalBlock()
at TempCrypt.Crypt .DecryptString1 28Bit(String
vstrStringToBeD ecrypted, String vstrDecryptionK ey) in
D:\Projects\VB\ TempCrypt\TempC rypt\Crypt.vb:l ine 132
TIA,
--
Anil Gupte
Comment