Table of Contents

Class ProxyAutoUpdateOptions

Namespace
VpnHood.Core.Proxies.Management.Abstractions.Options
Assembly
VpnHood.Core.Proxies.Management.Abstractions.dll

Provides the options of a managed proxy list's update from a URL.

public class ProxyAutoUpdateOptions
Inheritance
ProxyAutoUpdateOptions
Inherited Members

Properties

Interval

Gets or sets how often the list is downloaded, the first time as soon as the connector starts, or null, zero or less for no update.

public TimeSpan? Interval { get; set; }

Property Value

TimeSpan?

MaxItemCount

Gets or sets how many endpoints the merged list keeps, or null for DefaultMaxItemCount.

public int? MaxItemCount { get; set; }

Property Value

int?

MaxPenalty

Gets or sets the penalty above which a used endpoint goes after the new ones when the lists are merged, or null for DefaultMaxPenalty.

public int? MaxPenalty { get; set; }

Property Value

int?

RemoveDuplicateIps

Gets or sets a value indicating whether endpoints of one host and protocol are thinned out: a merge drops a new endpoint whose host and protocol match a listed one whose last use succeeded, and a connection that succeeds disables the others of its host and protocol among those it could choose. The default is true.

public bool RemoveDuplicateIps { get; set; }

Property Value

bool

Url

Gets or sets the URL of the text to read proxy addresses from, or null for no update.

public Uri? Url { get; set; }

Property Value

Uri