I need to create some bitmaps and save them to the file system. For some reason the MScharting system wants it's background files supplies as paths in string form.
I'm dynamically creating the background image, although only a few times.
What's the best way to create these files and then clean them up?
Here's how you can get the full path and file name of a temporary file:
string tempFile = System.IO.Path.GetTempFileName();
Create the file using this filename & path and when you're done delete it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With