ReadFile Method
Reads the specified part of a cached file.
Syntax
Remarks
This method reads data from the cached file identified by FileId into the specified Buffer. The cached file must be opened using OpenFile before it can be read from.
Up to Count bytes of data will be read from the cached file, starting from the specified Position, into the given Buffer. The data is written to Buffer starting at the given Index.
.NET Standard Notes
To call this method in an asynchronous manner call ReadFileAsync instead. When the method completes (or an error is encountered) the ReadFileCompleted event will fire.