FormActMainUncachedFileSave(FileInfo, MemoryStream, Boolean) Method |
Bypass Windows disk write caching to save a file. If the file exists, it will be deleted first.
Namespace: Advanced_Combat_TrackerAssembly: Advanced Combat Tracker (in Advanced Combat Tracker.exe) Version: 3.8.3.286
Syntaxpublic bool UncachedFileSave(
FileInfo DestFile,
MemoryStream FileData,
bool Force
)
Parameters
- DestFile FileInfo
- File to save to
- FileData MemoryStream
- Stream of file contents
- Force Boolean
- Will write the file even if the same contents already exist
Return Value
Booleantrue if the uncached save succeeded, false if normal saving was used or the file was the same
See Also