Hi Brad,
I think there is no limitation for the FileStream.Read operation except
that what is the CPU speed, disk IO spead, memory and so on physical
hardware limitation.
Can you tell me what on earth do you want to do?
e.g. I think if you wants to display the image, you may use the image
thumb, and also once you have read the image into memory, you can cache the
image, so that other thread will not to re-read the image from disk.(surely
a big cache will consume a lot of RAM).
You should try to balance the speed and the memory space. The more cache
you use, the faster you code will run, but the more memory you will use.
If if you do not wants to block the current reading thread, you may try to
use the BeginRead(asynchronous method) which will run the read operation on
another thread so the main thread will not be block.
Hope this helps.
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.