Click or drag to resize

FormActMainUncachedFileSave(FileInfo, MemoryStream) Method

Bypass Windows disk write caching to save a file. If the file exists, it will be deleted first. If the file destination file already contains the data, the entire operation is skipped.

Namespace: Advanced_Combat_Tracker
Assembly: Advanced Combat Tracker (in Advanced Combat Tracker.exe) Version: 3.8.3.286
Syntax
C#
public bool UncachedFileSave(
	FileInfo DestFile,
	MemoryStream FileData
)

Parameters

DestFile  FileInfo
File to save to
FileData  MemoryStream
Stream of file contents

Return Value

Boolean
true if the uncached save succeeded, false if normal saving was used
See Also