I'm using the RijndaelManaged class to encrypt files. I have the code
working but appear to be limited to files less than the maximum size of an
integer (about 2GB). The CryptoStream.Read method requires the offset and
count as Integers. If I attempt to use the filestream.length for the count
it will not compile because the filestream.length is a Long. The Long value
make sense as I may have to deal with files that are larger than 2GB.
Is there any way to use the Crypto library to encrypt files larger than 2GB?