Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Visual Basic .NET only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
Visual Basic .NET
How to read from boot sector of drive ?
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
draskoli
New Member
Join Date:
Jan 2010
Posts:
4
#1
How to read from boot sector of drive ?
Jan 30 '10, 09:46 AM
Can anybody help or share vb.net to read boot sector of drive ? I want to check from boot sector of drive if grldr, ntldr or other named loader exist.
Thanks in advance.
tlhintoq
Recognized Expert
Specialist
Join Date:
Mar 2008
Posts:
3532
#2
Jan 30 '10, 04:30 PM
This sounds suspiciously like asking for help on how to build a boot sector virus.
The DriveInfo class can tell you what drives are available and what kinds of drives they are without having to directly access the boot sector.
DriveInfo Class (System.IO)
http://msdn.microsoft.com/en-us/library/system.io.driveinfo.aspx
Provides access to information on a drive.
Comment
Post
Cancel
draskoli
New Member
Join Date:
Jan 2010
Posts:
4
#3
Jan 31 '10, 04:41 AM
No, I want to read from MBR where it tells about your booting pattern, ie wheter if it chainload like grubloader or something else before going into bootmgr.
Comment
Post
Cancel
draskoli
New Member
Join Date:
Jan 2010
Posts:
4
#4
Jan 31 '10, 06:33 AM
I could however detect same with HDhacker
or mbrwiz etc. I want to do it on my own using vb.net.
Comment
Post
Cancel
draskoli
New Member
Join Date:
Jan 2010
Posts:
4
#5
Jan 31 '10, 04:55 PM
Ok, i found way out to get hexdump of boot sector in vb.net. Now, I want to read particular address using readallbyte from hexdump. How to do that.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment