Tinkr2/4.2/AphelionCore/AphelionCore/Core/Core.cs
/// <summary>
/// Flushes all cached files of all volumes to the physical media.
/// </summary>
Flushes all cached files of all volumes to the physical media.
Flushes all cached files of all volumes to the physical media .
public static void FlushFileSystem()
      {
         try
         {
            VolumeInfo[] vi = VolumeInfo.GetVolumes();
            for (int i = 0; i < vi.Length; i++)
            {
               vi[i].FlushAll();
            }
         }
         catch
         { }
      }
public static void FlushFileSystem ( ) { try { VolumeInfo [ ] vi = VolumeInfo . GetVolumes ( ) ; for ( int i = 0 ; i < vi . Length ; i ++ ) { vi [ i ] . FlushAll ( ) ; } } catch { } }
Flushes all cached files of all volumes to the physical media.
Flushes all cached files of all volumes to the physical media .
// ReSharper disable once EmptyGeneralCatchClause