How do I disable temp file creation?

Q: We discovered that pdfnet creates a temp file when building a new
PDF from nothing.
This temp file is located under the ASPNET user's folder. Our goal is
to force someway the file to be created elsewhere (ramdisk), how could
this be done?

A: Temp file is used to allw creation of huge PDF files without
hogging system memory.

You could use PDFNet.SetTempPath() to specify a different location for
temp files.

In case you do not want to use temp files (i.e. for everything in
memory), use PDFNet.SetDefaultDiskCachingEnabled(true). This option
may not be ideal if you have limited RAM or if you have 32-bit app
(which have limited address space).