How do I access a file share programattically
        Posted  
        
            by Mykroft
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Mykroft
        
        
        
        Published on 2009-09-17T21:18:50Z
        Indexed on 
            2010/03/20
            20:41 UTC
        
        
        Read the original article
        Hit count: 258
        
I have a windows forms app running on a machine that is not on a domain, that needs to be able to move a file from the local filesystem to a UNC path. I have a username and password for that path. I was wondering is there any way to do this directly with out execing the net.exe command? 
Ideally I wouldn't have to map a drive.
© Stack Overflow or respective owner