使用C#修改MBR
using System;
using System.Runtime.InteropServices;
namespace 吃MBR
{
class Program
{
//声明
[DllImport("kernel32.dll", SetLastError = true)]
private static extern IntPtr CreateFileA(string lpFileName, uint dwDesiredAccess, uint dwShareMode, IntPtr lpSecurityAttributes, uint dwCreationDisposition, uint dwFlagsAndAttributes