Exemple #1
0
 public System.Threading.Tasks.Task <BasicStreamingClient.WcfStreamingServiceReference.UploadFileResponse> UploadFileAsync(long ByteStart, string FileName, long Length, System.IO.Stream FileByteStream)
 {
     BasicStreamingClient.WcfStreamingServiceReference.ResponseFile inValue = new BasicStreamingClient.WcfStreamingServiceReference.ResponseFile();
     inValue.ByteStart      = ByteStart;
     inValue.FileName       = FileName;
     inValue.Length         = Length;
     inValue.FileByteStream = FileByteStream;
     return(((BasicStreamingClient.WcfStreamingServiceReference.IStreamService)(this)).UploadFileAsync(inValue));
 }
Exemple #2
0
 public void UploadFile(long ByteStart, string FileName, long Length, System.IO.Stream FileByteStream)
 {
     BasicStreamingClient.WcfStreamingServiceReference.ResponseFile inValue = new BasicStreamingClient.WcfStreamingServiceReference.ResponseFile();
     inValue.ByteStart      = ByteStart;
     inValue.FileName       = FileName;
     inValue.Length         = Length;
     inValue.FileByteStream = FileByteStream;
     BasicStreamingClient.WcfStreamingServiceReference.UploadFileResponse retVal = ((BasicStreamingClient.WcfStreamingServiceReference.IStreamService)(this)).UploadFile(inValue);
 }
Exemple #3
0
 public long DownloadFile(ref long ByteStart, ref string FileName, out System.IO.Stream FileByteStream)
 {
     BasicStreamingClient.WcfStreamingServiceReference.RequestFile inValue = new BasicStreamingClient.WcfStreamingServiceReference.RequestFile();
     inValue.ByteStart = ByteStart;
     inValue.FileName  = FileName;
     BasicStreamingClient.WcfStreamingServiceReference.ResponseFile retVal = ((BasicStreamingClient.WcfStreamingServiceReference.IStreamService)(this)).DownloadFile(inValue);
     ByteStart      = retVal.ByteStart;
     FileName       = retVal.FileName;
     FileByteStream = retVal.FileByteStream;
     return(retVal.Length);
 }
Exemple #4
0
 System.Threading.Tasks.Task <BasicStreamingClient.WcfStreamingServiceReference.UploadFileResponse> BasicStreamingClient.WcfStreamingServiceReference.IStreamService.UploadFileAsync(BasicStreamingClient.WcfStreamingServiceReference.ResponseFile request)
 {
     return(base.Channel.UploadFileAsync(request));
 }
Exemple #5
0
 BasicStreamingClient.WcfStreamingServiceReference.UploadFileResponse BasicStreamingClient.WcfStreamingServiceReference.IStreamService.UploadFile(BasicStreamingClient.WcfStreamingServiceReference.ResponseFile request)
 {
     return(base.Channel.UploadFile(request));
 }