public void Upload(string ContentType, string Email, System.Guid FileGuid, string FileName, string HashCode, long Length, string SecurityCode, System.IO.Stream Stream) { RemoteFileDescriptor inValue = new RemoteFileDescriptor(); inValue.ContentType = ContentType; inValue.Email = Email; inValue.FileGuid = FileGuid; inValue.FileName = FileName; inValue.HashCode = HashCode; inValue.Length = Length; inValue.SecurityCode = SecurityCode; inValue.Stream = Stream; ((ITransferService)(this)).Upload(inValue); }
public string Download(System.Uri RemoteFile, out string Email, out System.Guid FileGuid, out string FileName, out string HashCode, out long Length, out string SecurityCode, out System.IO.Stream Stream) { RemoteFileIdentifier inValue = new RemoteFileIdentifier(); inValue.RemoteFile = RemoteFile; RemoteFileDescriptor retVal = ((ITransferService)(this)).Download(inValue); Email = retVal.Email; FileGuid = retVal.FileGuid; FileName = retVal.FileName; HashCode = retVal.HashCode; Length = retVal.Length; SecurityCode = retVal.SecurityCode; Stream = retVal.Stream; return(retVal.ContentType); }
void ITransferService.Upload(RemoteFileDescriptor request) { base.Channel.Upload(request); }