Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
Error when using CryptoStream.Read in .Net 7
Tuấn Tâm Bùi
0
Reputation points
I was use CryptoStream.Read to read bytes from a MemoryStream into a byte[]. When i'm use .Net 5 it can read all bytes but when i'm use .Net 7 it will lost some bytes. In .Net 7, when i use CryptoStream.ReadExactly it can read all bytes i need but when use CryptoStream.Read it not. Why did it happend?
Developer technologies | .NET | Other
Developer technologies | .NET | Other
Sign in to answer