Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MBR

7 views
Skip to first unread message

LC

unread,
Apr 18, 2004, 11:11:03 PM4/18/04
to
Hi,

Anyone knows how to read MBR in C#?

Thanks!

nswong

unread,
Apr 19, 2004, 1:02:51 AM4/19/04
to
Hi LC,

> Anyone knows how to read MBR in C#?

I'm not familiar with C# yet, but in the old day we have to called BIOS
ISR(Interrupt Service Routine) INT 13h.

Regards,
Wong


Willy Denoyette [MVP]

unread,
Apr 19, 2004, 7:17:50 AM4/19/04
to
You can use PInvoke to call Win32 CreateFile and DeviceIOControl API's.
Another option in to use the System.Management namespace, but that depends
on the info you want from the MBR.

Willy.

"LC" <anon...@discussions.microsoft.com> wrote in message
news:5401B713-7DB1-4230...@microsoft.com...

0 new messages