Example #1
0
 public System.Threading.Tasks.Task <Devesprit.Services.FileUploadServiceReference.UploadFileResult> UploadFileAsync(string UploadRequestKey, System.IO.Stream FileByteStream)
 {
     Devesprit.Services.FileUploadServiceReference.UploadFileRequest inValue = new Devesprit.Services.FileUploadServiceReference.UploadFileRequest();
     inValue.UploadRequestKey = UploadRequestKey;
     inValue.FileByteStream   = FileByteStream;
     return(((Devesprit.Services.FileUploadServiceReference.IFileUploadService)(this)).UploadFileAsync(inValue));
 }
Example #2
0
 public string UploadFile(string UploadRequestKey, System.IO.Stream FileByteStream, out bool Success)
 {
     Devesprit.Services.FileUploadServiceReference.UploadFileRequest inValue = new Devesprit.Services.FileUploadServiceReference.UploadFileRequest();
     inValue.UploadRequestKey = UploadRequestKey;
     inValue.FileByteStream   = FileByteStream;
     Devesprit.Services.FileUploadServiceReference.UploadFileResult retVal = ((Devesprit.Services.FileUploadServiceReference.IFileUploadService)(this)).UploadFile(inValue);
     Success = retVal.Success;
     return(retVal.Md5Hash);
 }
Example #3
0
 System.Threading.Tasks.Task <Devesprit.Services.FileUploadServiceReference.UploadFileResult> Devesprit.Services.FileUploadServiceReference.IFileUploadService.UploadFileAsync(Devesprit.Services.FileUploadServiceReference.UploadFileRequest request)
 {
     return(base.Channel.UploadFileAsync(request));
 }
Example #4
0
 Devesprit.Services.FileUploadServiceReference.UploadFileResult Devesprit.Services.FileUploadServiceReference.IFileUploadService.UploadFile(Devesprit.Services.FileUploadServiceReference.UploadFileRequest request)
 {
     return(base.Channel.UploadFile(request));
 }