Upload statistics from the database.

This commit is contained in:
2018-12-21 18:17:49 +00:00
parent 3a25f54e55
commit 72f31d0bcd
3 changed files with 397 additions and 3 deletions

View File

@@ -126,7 +126,6 @@ namespace DiscImageChef.Core
{
NullValueHandling = NullValueHandling.Ignore
}));
jsonSw.Close();
jsonStream.Seek(0, SeekOrigin.Begin);
WebRequest request = WebRequest.Create("http://discimagechef.claunia.com/api/uploadreportv2");
((HttpWebRequest)request).UserAgent = $"DiscImageChef {typeof(Version).Assembly.GetName().Version}";
@@ -146,6 +145,7 @@ namespace DiscImageChef.Core
reader.ReadToEnd();
data.Close();
response.Close();
jsonSw.Close();
jsonStream.Close();
}
catch(WebException)