Exemple #1
0
 static void WsaSendContentCompleted(object sender, SendContentCompletedEventArgs e)
 {
     if (e.Error != null)
     {
         MainForm.LogExceptionToFile(e.Error);
     }
     else
     {
         if (e.Result != "OK")
         {
             MainForm.LogErrorToFile("Send Content: " + e.Result);
         }
     }
 }
Exemple #2
0
 static void WsaSendContentCompleted(object sender, SendContentCompletedEventArgs e)
 {
     if (e.Error != null)
     {
         Logger.LogException(e.Error);
     }
     else
     {
         if (e.Result != "OK")
         {
             Logger.LogError("Send Content: " + e.Result);
         }
     }
 }