Reading and Writing physical media

S

Stephan Rose

I am working on an application to write a custom file system to our
MMC Cards used by our devices.

I have been able to use WMI to enumerate the connected MMC Card and
get all relevant information about it.

However what I cannot figure out is how to actually read and write
data from the card!

Note that the file system is my own so I need to be able to read /
write the actual blocks on the card itself.

Can anyone give me the nudge in the right direction as to where I need
to go from here? WMI Doesn't appear to give me anything beyond the
properties about the MMC Card. I can't find any Methods that would
allow me to perform any read / write operations.

Thanks in advance,

--
Stephan
2003 Yamaha R6

kimi no koto omoidasu hi
nante nai no wa
kimi no koto wasureta toki ga nai kara
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,


I don't think there is nothing like this in the framework you will have to
P/invoke all the functionality.

My first advise is to check in the unmanaged NGs.
 
S

Stephan Rose

Hi,


I don't think there is nothing like this in the framework you will have to
P/invoke all the functionality.

My first advise is to check in the unmanaged NGs.

No problem there at all, the thing is that I have absolutely zero idea
on what to P/invoke. =)

I didn't even expect the framework to have the WMI stuff, I was
pleasantly suprised when I saw the System.Management namespace!

Thanks,

--
Stephan
2003 Yamaha R6

kimi no koto omoidasu hi
nante nai no wa
kimi no koto wasureta toki ga nai kara
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top