示例#1
0
 public void CopyFile(string source, string target, bool overwrite)
 {
     if (_sharpCifsFileSystem.IsEnabledForPath(source))
     {
         _sharpCifsFileSystem.CopyFile(source, target, overwrite);
         return;
     }
     File.Copy(source, target, overwrite);
 }