Task WriteFileAsync( FileInfo file, byte[] bytes, CancellationToken cancellationToken )
Parameters
- file
- the file to create or replace
- bytes
- the bytes to write to it
- cancellationToken
- Propagates notification if a operations should be canceled.
Return Value
Task