Exemple #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));
 }
Exemple #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);
 }
Exemple #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));
 }
Exemple #4
0
 Devesprit.Services.FileUploadServiceReference.UploadFileResult Devesprit.Services.FileUploadServiceReference.IFileUploadService.UploadFile(Devesprit.Services.FileUploadServiceReference.UploadFileRequest request)
 {
     return(base.Channel.UploadFile(request));
 }