Ejemplo n.º 1
0
 public UploadContentRequest(WindowsService.ContentService.OTAuthentication OTAuthentication, string contextID, WindowsService.ContentService.FileAtts fileAtts, System.IO.Stream contents)
 {
     this.OTAuthentication = OTAuthentication;
     this.contextID        = contextID;
     this.fileAtts         = fileAtts;
     this.contents         = contents;
 }
Ejemplo n.º 2
0
 public string UploadContent(ref WindowsService.ContentService.OTAuthentication OTAuthentication, string contextID, WindowsService.ContentService.FileAtts fileAtts, System.IO.Stream contents)
 {
     WindowsService.ContentService.UploadContentRequest inValue = new WindowsService.ContentService.UploadContentRequest();
     inValue.OTAuthentication = OTAuthentication;
     inValue.contextID        = contextID;
     inValue.fileAtts         = fileAtts;
     inValue.contents         = contents;
     WindowsService.ContentService.UploadContentResponse retVal = ((WindowsService.ContentService.ContentService)(this)).UploadContent(inValue);
     OTAuthentication = retVal.OTAuthentication;
     return(retVal.UploadContentResult);
 }