A
Anil Gupte/iCinema.com
I am getting the following message and no, it is not even going to that
statement twice. Why is this happening?
System.NotSupportedException was caught
Message="FlushFinalBlock() method was called twice on a CryptoStream. It
can only be called once."
Source="mscorlib"
StackTrace:
at System.Security.Cryptography.CryptoStream.FlushFinalBlock()
at TempCrypt.Crypt.DecryptString128Bit(String
vstrStringToBeDecrypted, String vstrDecryptionKey) in
D:\Projects\VB\TempCrypt\TempCrypt\Crypt.vb:line 132
TIA,
statement twice. Why is this happening?
System.NotSupportedException was caught
Message="FlushFinalBlock() method was called twice on a CryptoStream. It
can only be called once."
Source="mscorlib"
StackTrace:
at System.Security.Cryptography.CryptoStream.FlushFinalBlock()
at TempCrypt.Crypt.DecryptString128Bit(String
vstrStringToBeDecrypted, String vstrDecryptionKey) in
D:\Projects\VB\TempCrypt\TempCrypt\Crypt.vb:line 132
TIA,