是否有用于读取或写入扇区的dll文件? [英] Is there any dll file for reading or writing to a sector?

查看:87
本文介绍了是否有用于读取或写入扇区的dll文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我正在寻找一个dll文件来读取特殊扇区而不是群集.
例如,我想从NTFS分区中的引导扇区读取偏移量0x48,因为它具有分区的序列号.
我该怎么办?
谢谢;)

Hi everybody,
I''m looking for a dll file to read a special sector not cluster.
For example I want to read offset 0x48 from boot sector in NTFS partition because it hase Serial Number of partition.
How can I do this?
Thanks ;)

推荐答案

您不能. AFAIK在Vista及更高版本中绝对不允许这种操作.
You can''t. AFAIK that kind of operation is absolutely not allowed under Vista and above.


您是否考虑过使用WMI访问这些值?
在C#中检索WMI的介绍 [使用WMI和C#获取磁盘驱动器信息 [ ^ ]
Have you considered using WMI to access these values?
An introduction in retrieving WMI in C#[^]
Getting Disk Drive Information using WMI and C#[^]


这篇关于是否有用于读取或写入扇区的dll文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆