コード例 #1
0
        /// <inheritdoc/>
        public override void EnsureDriveExistence()
        {
            fobj?.Close();
            bool extant = System.IO.File.Exists(ImageLocation);

            fobj = System.IO.File.Open(ImageLocation, FileMode.OpenOrCreate);
            vol  = extant ? PlexFAT.FromStream(fobj) : PlexFAT.New(fobj);
        }
コード例 #2
0
 /// <inheritdoc/>
 public override void Dispose()
 {
     vol = null;
     fobj.Close();
     fobj = null;
 }