From dfd02e7b9af17b036b4b55e5f51e96bb691767ac Mon Sep 17 00:00:00 2001 From: David Sparer Date: Thu, 15 Aug 2019 09:05:12 -0500 Subject: [PATCH] removed unused webhelper class --- mRemoteV1/Connection/WebHelper.cs | 23 ----------------------- mRemoteV1/mRemoteV1.csproj | 1 - 2 files changed, 24 deletions(-) delete mode 100644 mRemoteV1/Connection/WebHelper.cs diff --git a/mRemoteV1/Connection/WebHelper.cs b/mRemoteV1/Connection/WebHelper.cs deleted file mode 100644 index 276738051..000000000 --- a/mRemoteV1/Connection/WebHelper.cs +++ /dev/null @@ -1,23 +0,0 @@ -using mRemoteNG.Connection.Protocol; - -namespace mRemoteNG.Connection -{ - public class WebHelper - { - public static void GoToUrl(string url) - { - var connectionInfo = new ConnectionInfo(); - connectionInfo.CopyFrom(DefaultConnectionInfo.Instance); - - connectionInfo.Name = ""; - connectionInfo.Hostname = url; - connectionInfo.Protocol = url.StartsWith("https:") ? ProtocolType.HTTPS : ProtocolType.HTTP; - connectionInfo.SetDefaultPort(); - if (string.IsNullOrEmpty(connectionInfo.Panel)) - connectionInfo.Panel = Language.strGeneral; - connectionInfo.IsQuickConnect = true; - var connectionInitiator = new ConnectionInitiator(); - connectionInitiator.OpenConnection(connectionInfo, ConnectionInfo.Force.DoNotJump); - } - } -} \ No newline at end of file diff --git a/mRemoteV1/mRemoteV1.csproj b/mRemoteV1/mRemoteV1.csproj index 1934bb321..7dc17adb0 100644 --- a/mRemoteV1/mRemoteV1.csproj +++ b/mRemoteV1/mRemoteV1.csproj @@ -276,7 +276,6 @@ -