Ejemplo n.º 1
0
        // uploads files (async)
        private void UploadFiles(DelegateTransfer callback)
        {
            Uri address = new Uri(remotePath + ulVersion + "/");

            // try to upload files async
            fileTransfer.UploadFilesAsync(ulFiles, true, address, ulLocalPath,
                                          delegate(FileTransferResult result)
            {
                callback(result == FileTransferResult.Success);
            });
        }