From 5ff5df98678be11c11e93f80a44aeafe527999a1 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 10 Jan 2015 14:42:14 -0500 Subject: added UniversalDetector.dll --- .../Security/PluginSecurityManager.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs') diff --git a/MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs b/MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs index 3e81e839f..39dd41356 100644 --- a/MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs +++ b/MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs @@ -55,7 +55,6 @@ namespace MediaBrowser.Common.Implementations.Security private readonly IJsonSerializer _jsonSerializer; private readonly IApplicationHost _appHost; private readonly ILogger _logger; - private readonly INetworkManager _networkManager; private readonly IApplicationPaths _appPaths; private IEnumerable _registeredEntities; @@ -71,7 +70,7 @@ namespace MediaBrowser.Common.Implementations.Security /// Initializes a new instance of the class. /// public PluginSecurityManager(IApplicationHost appHost, IHttpClient httpClient, IJsonSerializer jsonSerializer, - IApplicationPaths appPaths, INetworkManager networkManager, ILogManager logManager) + IApplicationPaths appPaths, ILogManager logManager) { if (httpClient == null) { @@ -81,7 +80,6 @@ namespace MediaBrowser.Common.Implementations.Security _appHost = appHost; _httpClient = httpClient; _jsonSerializer = jsonSerializer; - _networkManager = networkManager; _appPaths = appPaths; _logger = logManager.GetLogger("SecurityManager"); } @@ -199,12 +197,11 @@ namespace MediaBrowser.Common.Implementations.Security if (!(lastChecked > DateTime.UtcNow.AddDays(-1))) { - var mac = _networkManager.GetMacAddress(); var data = new Dictionary { { "feature", feature }, { "key", SupporterKey }, - { "mac", mac }, + { "mac", _appHost.SystemId }, { "systemid", _appHost.SystemId }, { "mb2equiv", mb2Equivalent }, { "ver", version }, -- cgit v1.2.3