public SafeNode(string name, string ip, int port, X509Certificate2 pkey, bool local, ConnectionMethod.ConnMethod CM = ConnectionMethod.ConnMethod.Clear) { this.ip = ip; this.port = port; this.CM = CM; identity = new Identity(pkey, "", name, local); }
public NetworkSetup(ConnectionMethod.ConnMethod CM, PrMethod PM) { InitializeComponent(); this.CM = CM; this.PM = PM; if (PM == PrMethod.custom) { button1.Enabled = true; button2.Enabled = true; button3.Enabled = true; } if (CM == ConnectionMethod.ConnMethod.Clear) { button1.Enabled = true; } else if (CM == ConnectionMethod.ConnMethod.I2P) { button3.Enabled = true; } else if (CM == ConnectionMethod.ConnMethod.Tor) { button2.Enabled = true; } }
public SafeNode(string name, X509Certificate2 pkey, string hiddenid, ConnectionMethod.ConnMethod CM, bool local) { this.hiddenid = hiddenid; this.CM = CM; identity = new Identity(pkey, "", name, local); }
internal SafeNode(string hiddenid, ConnectionMethod.ConnMethod CM) { this.hiddenid = hiddenid; this.CM = CM; }
internal SafeNode(string ip, int port, ConnectionMethod.ConnMethod CM = ConnectionMethod.ConnMethod.Clear) { this.ip = ip; this.port = port; this.CM = CM; }
public SuperNode(string name, ConnectionMethod.ConnMethod CM) { this.name = name; this.CM = CM; }