示例#1
0
        public RemoteFileInfo DownloadFile(DownloadRequest request1, string sessionIdentifier)
        {
            DownloadFileRequest  request  = new DownloadFileRequest(request1, sessionIdentifier);
            DownloadFileResponse response = this.DownloadFile(request);

            return(response.DownloadFileResult);
        }
示例#2
0
        private DownloadFileResponse DownloadFile(DownloadFileRequest request)
        {
            CFInvokeInfo info = new CFInvokeInfo();

            info.Action            = "http://tempuri.org/IFileTransferService/DownloadFile";
            info.RequestIsWrapped  = true;
            info.ReplyAction       = "http://tempuri.org/IFileTransferService/DownloadFileResponse";
            info.ResponseIsWrapped = true;
            DownloadFileResponse retVal = base.Invoke <DownloadFileRequest, DownloadFileResponse>(info, request);

            return(retVal);
        }