コード例 #1
0
 public TunnelSettings()
 {
     IPFilter          = new NetworkTunnel.IPFilter();
     IPFilter.IPRanges = new ArrayList();
     IPFilter.IPRanges.Add(new IPAddressRange());
     IPFilter.IPRangeMode = NetworkTunnel.IPRangeMode.Disable;
 }
コード例 #2
0
 public TunnelSettings(String connection, int port)
 {
     this.Connection   = connection;
     this.Port         = port;
     IPFilter          = new NetworkTunnel.IPFilter();
     IPFilter.IPRanges = new ArrayList();
     IPFilter.IPRanges.Add(new IPAddressRange());
     IPFilter.IPRangeMode = NetworkTunnel.IPRangeMode.Disable;
 }