mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
Cleaned up PortScan.cs
This commit is contained in:
@@ -14,12 +14,12 @@ namespace mRemoteNG.Config.Import
|
||||
{
|
||||
foreach (Tools.PortScan.ScanHost host in hosts)
|
||||
{
|
||||
ProtocolType finalProtocol = default(ProtocolType);
|
||||
bool protocolValid = false;
|
||||
var finalProtocol = default(ProtocolType);
|
||||
var protocolValid = false;
|
||||
|
||||
TreeNode treeNode = Tree.ConnectionTreeNode.AddNode(Tree.TreeNodeType.Connection, host.HostNameWithoutDomain);
|
||||
var treeNode = Tree.ConnectionTreeNode.AddNode(Tree.TreeNodeType.Connection, host.HostNameWithoutDomain);
|
||||
|
||||
ConnectionInfo connectionInfo = new ConnectionInfo();
|
||||
var connectionInfo = new ConnectionInfo();
|
||||
connectionInfo.Inheritance = new ConnectionInfoInheritance(connectionInfo);
|
||||
|
||||
connectionInfo.Name = host.HostNameWithoutDomain;
|
||||
|
||||
Reference in New Issue
Block a user