void SetRemoteRequestCompleted(object sender, UploadStringCompletedEventArgs e)
 {
     if (e.Error == null)
     {
         SetResult result = new SetResult(extractVersionFromHeaders(sender as WebClient), e.Result);
         OnSetCompleted(new DataEventArgs <SetResult>(result));
     }
     else
     {
         OnSetCompleted(new DataEventArgs <SetResult>(e.Error));
     }
 }
 void SetRemoteRequestCompleted(object sender, UploadStringCompletedEventArgs e)
 {
     if (e.Error == null)
     {
         SetResult result = new SetResult(extractVersionFromHeaders(sender as WebClient), e.Result);
         OnSetCompleted(new DataEventArgs<SetResult>(result));
     }
     else
         OnSetCompleted(new DataEventArgs<SetResult>(e.Error));
 }