Align device Id regardless of feature

This commit is contained in:
Eric Reed 2014-09-06 16:07:24 -04:00
parent 41cabc7bd3
commit eb1ade477d

View File

@ -30,7 +30,8 @@ namespace MediaBrowser.Common.Implementations.Security
{
{ "feature", _applicationHost.Name },
{ "mac", mac },
{ "systemid", _applicationHost.SystemId },
{ "serverid", _applicationHost.SystemId },
{ "deviceid", _applicationHost.SystemId },
{ "ver", _applicationHost.ApplicationVersion.ToString() },
{ "platform", Environment.OSVersion.VersionString },
{ "isservice", _applicationHost.IsRunningAsService.ToString().ToLower()}
@ -51,7 +52,8 @@ namespace MediaBrowser.Common.Implementations.Security
var data = new Dictionary<string, string>
{
{ "feature", app.AppName ?? "Unknown App" },
{ "systemid", _applicationHost.SystemId },
{ "serverid", _applicationHost.SystemId },
{ "deviceid", app.DeviceId },
{ "mac", app.DeviceId },
{ "ver", app.AppVersion ?? "Unknown" },
{ "platform", app.DeviceName },