File resizing in .NET Compact Framework

In this article i will explain how to resize file in .NET Compact Framework.
  • 1613


Determining the maximum size of the temporary file

Temp files are the temporary files which resides in the memory for a very short duration of time. They are created when the execution of a program starts but is automatically deleted when it is no longer needed.  When a temp file is created then by default its maximum size is 128MB. In order to change its maximum size use the following string.

Data Source=MyData.sdf;Temp File Max Size=512;Persist Security Info=False;
Further Readings
You may also want to read these related articles.

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here


More Articles

© 2020 DotNetHeaven. All rights reserved.