Ejemplo n.º 1
0
 public IObservable<byte[]> Data(string username, string password)
 {
     using (var client = new WebClient())
     {
         Uri url = new Uri(Url);
         var u = url.AbsoluteUri + Name;
         return client.DownloadAttachment(new Uri(u), ContentType, username, password);
     }
 }