Click here to Skip to main content
15,891,633 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hello
I want to write some data to a memory without using file system(fat or...)
My data is some text and i need to write exactly at byte 0 because i wan to use it with a micro controller and read data from byte 0 to last byte.
Thank you
Posted

1 solution

There is no support in .net for this.
You have to use native methods (interop) or drop c# and use c, c++ or assembler (or assembler from within a c or c++ program).
Disk editors (for example) do this, so it is doable (with the right permissions).
 
Share this answer
 
Comments
Dalek Dave 9-Sep-10 11:21am    
Good Answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900