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