Пример #1
0
 // creates a remote directory for the new version (async)
 private void CreateDirectory(DelegateTransfer callback)
 {
     // try to create remote directory async
     fileTransfer.CreateDirectoryAsync(ulVersion, remotePath,
                                       delegate(FileTransferResult result)
     {
         callback(result == FileTransferResult.Success);
     });
 }