Exemple #1
0
 public static async Task <HttpResponseMessage> PostAsync(
     this ReportPackage package)
 {
     return(await LiteClient.PostAsync(new Uri(Config.Global.ReportUrl + "/report?".GlueGetList(new Dictionary <string, object>()
     {
         {
             "deviceid",
             (object)Critical.GetDeviceId()
         },
         {
             "uuid",
             (object)Critical.GetUuid()
         }
     }, false) + package.UrlParameters), (Stream) new MemoryStream(package.GetRawStream().ToArray())));
 }