Create new files with length...

  • Thread starter Thread starter Giu
  • Start date Start date
G

Giu

Hi,
i need to create a new empty file .The only things i know is the length and
the name .
This file will be filled up with data by a stream in a second time.
But how could i create a new empty file of given length?
Thanks.
 
Giu said:
i need to create a new empty file .The only things i know is the length and
the name .
This file will be filled up with data by a stream in a second time.
But how could i create a new empty file of given length?

Well, you can use FileStream.SetLength...
 

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

Back
Top