Click here to Skip to main content
15,885,365 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
Hi
I want to know how to avoid creating tmp file of my application,
I dont want any tmp files getting stored as it contains a lot of sensitive data what should I do for it
Posted
Comments
Richard MacCutchan 26-Feb-13 10:41am    
Don't create temp files.
Sergey Alexandrovich Kryukov 26-Feb-13 14:54pm    
Exactly. Actually, the only valid answer would be: "it depends; sometimes they are easy to avoid, but sometime you cannot avoid it at all...".
Nothing else to talk about. The only reasonable advice is Solution 1. It may help in some cases, won't help in others.
—SA
Sergey Alexandrovich Kryukov 26-Feb-13 19:59pm    
Please stop posting non-answers as "solution". It can give you abuse reports which eventually may lead to cancellation of your CodeProject membership.
Comment on any posts, reply to available comments, or use "Improve question" (above).
Also, keep in mind that members only get notifications on the post sent in reply to there posts.
—SA

You can use MemoryStream as an in-memory file if you have enough RAM to hold all your data.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 26-Feb-13 14:51pm    
Considering the vague question, this is actually a good idea, the vote of 1 was just stupid. I voted 5.
—SA
sjelen 27-Feb-13 6:47am    
Thanks.
Please visit the Link
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900