Answers for "How to create a virtual floppy disk:"

0

How to create a virtual floppy disk:

using (FileStream fs = File.Create(@"myfloppy.vfd"))
{
    using (FatFileSystem floppy = FatFileSystem.FormatFloppy(fs, FloppyDiskType.HighDensity, "MY FLOPPY  "))
    {
        using (Stream s = floppy.OpenFile("foo.txt", FileMode.Create))
        {
            // Use stream...
        }
    }
}
Posted by: Guest on May-04-2021

Code answers related to "How to create a virtual floppy disk:"

Browse Popular Code Answers by Language