Class WinDivertVpnAdapterSettings
- Namespace
- VpnHood.Net.VpnAdapters.WinDivert
- Assembly
- VpnHood.Net.VpnAdapters.WinDivert.dll
Represents the settings of a WinDivertVpnAdapter.
public class WinDivertVpnAdapterSettings : VpnAdapterSettings
- Inheritance
-
WinDivertVpnAdapterSettings
- Inherited Members
Constructors
WinDivertVpnAdapterSettings()
Initializes a new instance of the WinDivertVpnAdapterSettings class, with no automatic metric.
public WinDivertVpnAdapterSettings()
Properties
AutoMetric
Gets false: with no interface, there is no metric. It hides AutoMetric, which the constructor sets to false.
public bool AutoMetric { get; }
Property Value
ExcludeLocalNetwork
Gets or sets whether the capture of the routes' networks leaves out the local networks (LocalNetworks), whatever the routes; DNS queries to them are still captured with SimulateDns. The default is true.
public bool ExcludeLocalNetwork { get; set; }
Property Value
SimulateDns
Gets or sets whether the adapter captures every outbound UDP packet to port 53, wherever it goes, but loopback ones and those of ProtectedTtl, and sends it to one of its own DNS servers of the packet's IP version instead, if it has one, as the host's DNS settings stay as they are. The default is true.
public bool SimulateDns { get; set; }