Click or drag to resize

FormActMainUncachedFileSave Method

Bypass Windows disk write caching to save a file. If the file exists, it will be deleted first.

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

Parameters

DestFile
Type: System.IOFileInfo
File to save to
FileData
Type: System.IOMemoryStream
Stream of file contents

Return Value

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