FlushViewOfFile

[DllImport("Kernel32.dll")][return: MarshalAs(UnmanagedType.Bool)]
public static extern bool FlushViewOfFile(
   IntPtr lpBaseAddress,
   uint dwNumberOfBytesToFlush
);

Microsoft documentation: Link

Last updated