title: Format Removable media with c# programming
body: <p>I want to format (FAT32) removable drive with c# programming. In the internet I found a way, but the problem is that it opens the generic windows format program. But I want to do it with C# only and no built in windows support.</p>
  
  <p>My method is:</p>
  
  <pre><code>// FAT32 Format Button click event
  [DllImport("shell32.dll")]
  static extern uint SHFormatDrive(IntPtr hwnd, uint drive, uint fmtID, uint options);
  </code></pre>