We have a need to read a file into a byte array. These files are large (can be up to 100 MB) so we need something very efficient/quick. I've seen some examples, but I'm looking for what the experts would consider the fastest way to do this. A code snippet.
As said above we want to read these from a remote file share (this is all running on Windows), so we need to read from a \\fileserver\folder\filename.txt type of syntax.
Will give all 500 points to anyone providing a short working sample. We've seen some out there, but don't know if: 1, they work with a remote file; 2, if they're the most efficient approach.