Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string path = "\\.\" + driveLetter + ":";
- IntPtr handle = CreateFile(path, GENERIC_READ | GENERIC_WRITE, 0,
- IntPtr.Zero, OPEN_EXISTING, 0, IntPtr.Zero);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement