From 4ca29d5d2e178ec6999d0c628c145d3665ce0607 Mon Sep 17 00:00:00 2001 From: David Sparer Date: Tue, 25 Oct 2016 11:13:43 -0600 Subject: [PATCH] Removed an unused variable in Runtime --- mRemoteV1/App/Runtime.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mRemoteV1/App/Runtime.cs b/mRemoteV1/App/Runtime.cs index 9dfc8f9ba..9763d8567 100644 --- a/mRemoteV1/App/Runtime.cs +++ b/mRemoteV1/App/Runtime.cs @@ -5,6 +5,7 @@ using mRemoteNG.Connection.Protocol; using mRemoteNG.Messages; using mRemoteNG.Tools; using mRemoteNG.Tree; +using mRemoteNG.Tree.Root; using mRemoteNG.UI.Window; using System; using System.Collections; @@ -37,8 +38,7 @@ namespace mRemoteNG.App // ReSharper disable once UnusedAutoPropertyAccessor.Local private static DateTime LastSqlUpdate { get; set; } public static ArrayList ExternalTools { get; set; } = new ArrayList(); - public static SecureString DefaultEncryptionKey { get; } = "mR3m".ConvertToSecureString(); - public static SecureString EncryptionKey { get; set; } = DefaultEncryptionKey; + public static SecureString EncryptionKey { get; set; } = new RootNodeInfo(RootNodeType.Connection).PasswordString.ConvertToSecureString(); public static ConnectionTreeModel ConnectionTreeModel { get { return Windows.TreeForm.ConnectionTreeModel; }