Get/open temp file in .NET
        Posted  
        
            by acidzombie24
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by acidzombie24
        
        
        
        Published on 2010-04-29T23:07:50Z
        Indexed on 
            2010/04/29
            23:17 UTC
        
        
        Read the original article
        Hit count: 617
        
I would like to do something like the below. What function returns me an unique file that is opened? so i can ensure it is mine and i wont overwrite anything or write a complex fn generate/loop
BinaryWriter w = GetTempFile(out fn);
w.close();
File.Move(fn, newFn);
© Stack Overflow or respective owner