RAM Memory or virual memory

  • Thread starter Thread starter Julián Sanz García
  • Start date Start date
J

Julián Sanz García

Hi!!,

How can i use Ram memory or virtual memory to crear a file???

The idea is to create a file in a temporaly space, something like RAM memory
or virtual memory.


Thanks
 
yes, i know. But the thing i have to do is to read a binary file from
database, and create this file in virtual memory to send it in a mail
without write in physical memory.
 
Hi Julián,

You'll want to look at the MemoryStream class in the System.IO
namespace. There are a couple good examples in the docs on how to use
it.
 
I am not sure what you mean, Julián. From .NET and user mode Win32 we
do not have access to physical memory, only virtual memory, which is
just an abstraction on top of physical memory.

My understanding was you wanted to avoid writing to disk.
 
exactly, my english is not so good, I want to avoid writing to disk but i
want to acces to file with physical paths
 
Back
Top