Add version and platform to stats and don't hit server on every reg check
This commit is contained in:
@@ -56,6 +56,16 @@ namespace MediaBrowser.Common.Implementations.Security
|
||||
|
||||
}
|
||||
|
||||
public void RemoveRegCheck(string featureId)
|
||||
{
|
||||
using (var provider = new MD5CryptoServiceProvider())
|
||||
{
|
||||
UpdateRecords.Remove(new Guid(provider.ComputeHash(Encoding.Unicode.GetBytes(featureId))));
|
||||
Save();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public DateTime LastChecked(string featureId)
|
||||
{
|
||||
using (var provider = new MD5CryptoServiceProvider())
|
||||
|
||||
Reference in New Issue
Block a user