Exemplo n.º 1
0
 public void UploadFile(string FileName, long Length, System.IO.Stream FileByteStream)
 {
     WinPure.ContactManagement.Client.Data.SyncService.RemoteFileInfo inValue = new WinPure.ContactManagement.Client.Data.SyncService.RemoteFileInfo();
     inValue.FileName       = FileName;
     inValue.Length         = Length;
     inValue.FileByteStream = FileByteStream;
     WinPure.ContactManagement.Client.Data.SyncService.UploadFileResponse retVal = ((WinPure.ContactManagement.Client.Data.SyncService.ISyncService)(this)).UploadFile(inValue);
 }
Exemplo n.º 2
0
 public long DownloadFile(ref string FileName, out System.IO.Stream FileByteStream)
 {
     WinPure.ContactManagement.Client.Data.SyncService.DownloadRequest inValue = new WinPure.ContactManagement.Client.Data.SyncService.DownloadRequest();
     inValue.FileName = FileName;
     WinPure.ContactManagement.Client.Data.SyncService.RemoteFileInfo retVal = ((WinPure.ContactManagement.Client.Data.SyncService.ISyncService)(this)).DownloadFile(inValue);
     FileName       = retVal.FileName;
     FileByteStream = retVal.FileByteStream;
     return(retVal.Length);
 }
Exemplo n.º 3
0
 WinPure.ContactManagement.Client.Data.SyncService.UploadFileResponse WinPure.ContactManagement.Client.Data.SyncService.ISyncService.UploadFile(WinPure.ContactManagement.Client.Data.SyncService.RemoteFileInfo request)
 {
     return(base.Channel.UploadFile(request));
 }