Exemplo n.º 1
0
 public string DownloadFile(string nazwa1, out string nazwa2, out long rozmiar, out System.IO.Stream dane)
 {
     WindowsFormsClient.ServiceReference1.RequestFileMessage inValue = new WindowsFormsClient.ServiceReference1.RequestFileMessage();
     inValue.nazwa1 = nazwa1;
     WindowsFormsClient.ServiceReference1.ResponseFileMessage retVal = ((WindowsFormsClient.ServiceReference1.IService1)(this)).DownloadFile(inValue);
     nazwa2  = retVal.nazwa2;
     rozmiar = retVal.rozmiar;
     dane    = retVal.dane;
     return(retVal.description);
 }
Exemplo n.º 2
0
 public System.Threading.Tasks.Task <WindowsFormsClient.ServiceReference1.ResponseFileMessage> DownloadFileAsync(string nazwa1)
 {
     WindowsFormsClient.ServiceReference1.RequestFileMessage inValue = new WindowsFormsClient.ServiceReference1.RequestFileMessage();
     inValue.nazwa1 = nazwa1;
     return(((WindowsFormsClient.ServiceReference1.IService1)(this)).DownloadFileAsync(inValue));
 }
Exemplo n.º 3
0
 System.Threading.Tasks.Task <WindowsFormsClient.ServiceReference1.ResponseFileMessage> WindowsFormsClient.ServiceReference1.IService1.DownloadFileAsync(WindowsFormsClient.ServiceReference1.RequestFileMessage request)
 {
     return(base.Channel.DownloadFileAsync(request));
 }
Exemplo n.º 4
0
 WindowsFormsClient.ServiceReference1.ResponseFileMessage WindowsFormsClient.ServiceReference1.IService1.DownloadFile(WindowsFormsClient.ServiceReference1.RequestFileMessage request)
 {
     return(base.Channel.DownloadFile(request));
 }