Page MenuHomeFeedback Tracker

Json SaveFile
New, NormalPublic

Description

The question concerns saving JSON files to disk. Why is the file write function used in the Windows API (https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-writefile) called twice per file save (screenshot attached). Is this normal behavior?

To view server activities, a standard Windows utility was used https://learn.microsoft.com/en-us/sysinternals/downloads/procmon

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 11 x64
Category
General
Steps To Reproduce

Save any file using

JsonFileLoader<ref class>.SaveFile(param...)

Event Timeline