title: How to do fsync() in C#?
body: <p>I'm working on a project related to databases in C#. After each transaction commit, I want the db to move all the buffered data onto disk. In Linux, fflush() + fsync() would provide what I want. To get the same effect, what should I do in C#?</p>