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...
 
Back
Top