diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-01-10 14:42:14 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-01-10 14:42:14 -0500 |
| commit | 5ff5df98678be11c11e93f80a44aeafe527999a1 (patch) | |
| tree | dd3476802af6b62cea07a413eef3d61e21f2acba /MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs | |
| parent | e97848289600570b489b6fdb608014b383772523 (diff) | |
added UniversalDetector.dll
Diffstat (limited to 'MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs')
| -rw-r--r-- | MediaBrowser.Common.Implementations/Security/PluginSecurityManager.cs | 7 |
1 files changed, 2 insertions, 5 deletions
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<IRequiresRegistration> _registeredEntities; @@ -71,7 +70,7 @@ namespace MediaBrowser.Common.Implementations.Security /// Initializes a new instance of the <see cref="PluginSecurityManager" /> class. /// </summary> 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<string, string> { { "feature", feature }, { "key", SupporterKey }, - { "mac", mac }, + { "mac", _appHost.SystemId }, { "systemid", _appHost.SystemId }, { "mb2equiv", mb2Equivalent }, { "ver", version }, |
