move common dependencies

This commit is contained in:
Luke Pulverenti
2016-10-29 01:40:15 -04:00
parent ce38e98791
commit 2729301bff
55 changed files with 10787 additions and 171 deletions

View File

@@ -72,7 +72,7 @@ namespace MediaBrowser.Server.Mono
private static void RunApplication(ServerApplicationPaths appPaths, ILogManager logManager, StartupOptions options)
{
SystemEvents.SessionEnding += SystemEvents_SessionEnding;
Microsoft.Win32.SystemEvents.SessionEnding += SystemEvents_SessionEnding;
// Allow all https requests
ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(delegate { return true; });