Show / Hide Table of Contents

Class Preferences

qBittorrent application preferences.

Inheritance
System.Object
Preferences
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: QBittorrent.Client
Assembly: QBittorrent.Client.dll
Syntax
[JsonObject(ItemNullValueHandling = NullValueHandling.Ignore)]
public class Preferences

Properties

| Improve this Doc View Source

AdditinalTrackers

The list of addional trackers.

Declaration
[JsonProperty("add_trackers")]
[JsonConverter(typeof(SeparatedStringToListConverter), new object[]{"\n"})]
public IList<string> AdditinalTrackers { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>
| Improve this Doc View Source

AdditionalData

Additional properties not handled by this library.

Declaration
[JsonExtensionData]
public IDictionary<string, JToken> AdditionalData { get; set; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, Newtonsoft.Json.Linq.JToken>
| Improve this Doc View Source

AdditionalTrackersEnabled

True if additional trackers are enabled.

Declaration
[JsonProperty("add_trackers_enabled")]
public bool? AdditionalTrackersEnabled { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

AddTorrentPaused

True if torrents should be added in a Paused state

Declaration
[JsonProperty("start_paused_enabled")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.2.0")]
public bool? AddTorrentPaused { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

AlternativeDownloadLimit

Alternative global download speed limit in KiB/s

Declaration
[JsonProperty("alt_dl_limit")]
public int? AlternativeDownloadLimit { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

AlternativeUploadLimit

Alternative global upload speed limit in KiB/s

Declaration
[JsonProperty("alt_up_limit")]
public int? AlternativeUploadLimit { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

AlternativeWebUIEnabled

True if an alternative WebUI should be used

Declaration
[JsonProperty("alternative_webui_enabled")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.2.0")]
public bool? AlternativeWebUIEnabled { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

AlternativeWebUIPath

File path to the alternative WebUI

Declaration
[JsonProperty("alternative_webui_path")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.2.0")]
public string AlternativeWebUIPath { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

AnonymousMode

If true anonymous mode will be enabled.

Declaration
[JsonProperty("anonymous_mode")]
public bool? AnonymousMode { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

AppendExtensionToIncompleteFiles

If true .!qB extension will be appended to incomplete files.

Declaration
[JsonProperty("incomplete_files_ext")]
public bool? AppendExtensionToIncompleteFiles { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

AutorunEnabled

True if external program should be run after torrent has finished downloading.

Declaration
[JsonProperty("autorun_enabled")]
public bool? AutorunEnabled { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

AutorunProgram

Program path/name/arguments to run if AutorunEnabled is true.

Declaration
[JsonProperty("autorun_program")]
public string AutorunProgram { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

AutoTMMEnabledByDefault

True if Automatic Torrent Management is enabled by default

Declaration
[JsonProperty("auto_tmm_enabled")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.2.0")]
public bool? AutoTMMEnabledByDefault { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

AutoTMMRetainedWhenCategoryChanges

True if torrent should be relocated when its category changes

Declaration
[JsonProperty("torrent_changed_tmm_enabled")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.2.0")]
public bool? AutoTMMRetainedWhenCategoryChanges { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

AutoTMMRetainedWhenCategorySavePathChanges

True if torrent should be relocated when its category's save path changes

Declaration
[JsonProperty("category_changed_tmm_enabled")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.2.0")]
public bool? AutoTMMRetainedWhenCategorySavePathChanges { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

AutoTMMRetainedWhenDefaultSavePathChanges

True if torrent should be relocated when the default save path changes

Declaration
[JsonProperty("save_path_changed_tmm_enabled")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.2.0")]
public bool? AutoTMMRetainedWhenDefaultSavePathChanges { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

BannedIpAddresses

The list of banned IP addresses.

Declaration
[JsonProperty("banned_IPs")]
[JsonConverter(typeof(SeparatedStringToListConverter), new object[]{"\n"})]
public IList<string> BannedIpAddresses { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>
| Improve this Doc View Source

BittorrentProtocol

Bittorrent protocol.

Declaration
[JsonProperty("bittorrent_protocol")]
public BittorrentProtocol? BittorrentProtocol { get; set; }
Property Value
Type Description
System.Nullable<BittorrentProtocol>
| Improve this Doc View Source

BypassAuthenticationSubnetWhitelist

(White)list of ipv4/ipv6 subnets for which webui authentication should be bypassed.

Declaration
[JsonProperty("bypass_auth_subnet_whitelist")]
[JsonConverter(typeof(SeparatedStringToListConverter), new object[]{",", "\n"})]
public IList<string> BypassAuthenticationSubnetWhitelist { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>
See Also
BypassAuthenticationSubnetWhitelistEnabled
BypassLocalAuthentication
| Improve this Doc View Source

BypassAuthenticationSubnetWhitelistEnabled

True if webui authentication should be bypassed for clients whose ip resides within (at least) one of the subnets on the whitelist.

Declaration
[JsonProperty("bypass_auth_subnet_whitelist_enabled")]
public bool? BypassAuthenticationSubnetWhitelistEnabled { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
See Also
BypassAuthenticationSubnetWhitelist
BypassLocalAuthentication
| Improve this Doc View Source

BypassLocalAuthentication

True if authentication challenge for loopback address (127.0.0.1) should be disabled.

Declaration
[JsonProperty("bypass_local_auth")]
public bool? BypassLocalAuthentication { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

CreateTorrentSubfolder

True if a subfolder should be created when adding a torrent

Declaration
[JsonProperty("create_subfolder_enabled")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.2.0")]
[Deprecated("2.7.0")]
public bool? CreateTorrentSubfolder { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

CurrentInterfaceAddress

Current network interface address

Declaration
[JsonProperty("current_interface_address")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public string CurrentInterfaceAddress { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

CurrentNetworkInterface

Specifies which network interfaces qBittorrent listens on. On multi-nic systems (e.g. device has an ethernet port and wifi) you may limit which interface should be used to send and transmit data.

Declaration
[JsonProperty("current_network_interface")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public string CurrentNetworkInterface { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

DHT

True if DHT is enabled

Declaration
[JsonProperty("dht")]
public bool? DHT { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

DHTPort

DHT port if DHTSameAsBT is false.

Declaration
[JsonProperty("dht_port")]
public int? DHTPort { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

DHTSameAsBT

True if DHT port should match TCP port

Declaration
[JsonProperty("dhtSameAsBT")]
public bool? DHTSameAsBT { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

DoNotCountSlowTorrents

If true torrents w/o any activity (stalled ones) will not be counted towards max_active_* limits.

Declaration
[JsonProperty("dont_count_slow_torrents")]
public bool? DoNotCountSlowTorrents { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

DownloadLimit

Global download speed limit in KiB/s; -1 means no limit is applied.

Declaration
[JsonProperty("dl_limit")]
public int? DownloadLimit { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

DynamicDnsDomain

Your DDNS domain name.

Declaration
[JsonProperty("dyndns_domain")]
public string DynamicDnsDomain { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

DynamicDnsEnabled

True if server DNS should be updated dynamically.

Declaration
[JsonProperty("dyndns_enabled")]
public bool? DynamicDnsEnabled { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

DynamicDnsPassword

Password for DDNS service.

Declaration
[JsonProperty("dyndns_password")]
public string DynamicDnsPassword { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

DynamicDnsService

Dynamic DNS service.

Declaration
[JsonProperty("dyndns_service")]
public DynamicDnsService? DynamicDnsService { get; set; }
Property Value
Type Description
System.Nullable<DynamicDnsService>
| Improve this Doc View Source

DynamicDnsUsername

Username for DDNS service.

Declaration
[JsonProperty("dyndns_username")]
public string DynamicDnsUsername { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

EnableUTP

True if uTP protocol should be enabled.

Declaration
[JsonProperty("enable_utp")]
[Obsolete("Use BittorrentProtocol property for qBittorrent 4.x")]
public bool? EnableUTP { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

Encryption

Encryption mode.

Declaration
[JsonProperty("encryption")]
public Encryption? Encryption { get; set; }
Property Value
Type Description
System.Nullable<Encryption>
| Improve this Doc View Source

ExportDirectory

Path to directory to copy .torrent files.

Declaration
[JsonProperty("export_dir")]
public string ExportDirectory { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ExportDirectoryForFinished

Path to directory to copy finished .torrent files

Declaration
[JsonProperty("export_dir_fin")]
public string ExportDirectoryForFinished { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ForceProxy

True if the connections not supported by the proxy are disabled.

Declaration
[JsonProperty("force_proxy")]
[Deprecated("2.3")]
public bool? ForceProxy { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

IpFilterEnabled

True if external IP filter should be enabled.

Declaration
[JsonProperty("ip_filter_enabled")]
public bool? IpFilterEnabled { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

IpFilterPath

Path to IP filter file (.dat, .p2p, .p2b files are supported).

Declaration
[JsonProperty("ip_filter_path")]
public string IpFilterPath { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

IpFilterTrackers

True if IP filters are applied to trackers

Declaration
[JsonProperty("ip_filter_trackers")]
public bool? IpFilterTrackers { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

LibtorrentAllowMultipleConnectionsFromSameIp

Determines if connections from the same IP address as existing connections should be rejected or not.

Declaration
[JsonProperty("enable_multi_connections_from_same_ip")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public bool? LibtorrentAllowMultipleConnectionsFromSameIp { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
Remarks

This option is disabled by default to prevent abusive behavior by peers. It may be useful to allow such connections in cases where simulations are run on the same machine, and all peers in a swarm has the same IP address.

| Improve this Doc View Source

LibtorrentAnnounceIp

The ip address passed along to trackers. If this value is blank, the parameter will be omitted.

Declaration
[JsonProperty("announce_ip")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public string LibtorrentAnnounceIp { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

LibtorrentAnnounceToAllTiers

Controls how multi tracker torrents are treated.

Declaration
[JsonProperty("announce_to_all_tiers")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public bool? LibtorrentAnnounceToAllTiers { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
Remarks

When this is set to true, one tracker from each tier is announced to. This is the uTorrent behavior. This is false by default in order to comply with the multi-tracker specification.

See Also
LibtorrentAnnounceToAllTrackers
| Improve this Doc View Source

LibtorrentAnnounceToAllTrackers

Controls how multi tracker torrents are treated.

Declaration
[JsonProperty("announce_to_all_trackers")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public bool? LibtorrentAnnounceToAllTrackers { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
Remarks

If this is set to true, all trackers in the same tier are announced to in parallel. If all trackers in tier 0 fails, all trackers in tier 1 are announced as well. Otherwise the behavior is as defined by the multi tracker specification.

See Also
LibtorrentAnnounceToAllTiers
| Improve this Doc View Source

LibtorrentAsynchronousIOThreads

I/O threads that libtorrent will use.

Declaration
[JsonProperty("async_io_threads")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public int? LibtorrentAsynchronousIOThreads { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
Remarks

The number of threads actually used for SHA-1 hashing is n/4 (where n is the value of the setting), so for maximum performance, especially during torrent recheck, this setting should be set to 4 times the number of hardware threads on your machine. So for example, if your CPU is 4c/4t or 2c/4t, set this to 16, if your CPU is 4c/8t or 8c/8t set this to 32, etc. It is unlikely that setting this any higher than this will bring a performance benefit.

| Improve this Doc View Source

LibtorrentCoalesceReadsAndWrites

When enabled, qbittorrent will allocate separate, contiguous, buffers for read and write calls.

Declaration
[JsonProperty("enable_coalesce_read_write")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public bool? LibtorrentCoalesceReadsAndWrites { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
Remarks

Only used where writev/readv cannot be used, and will use more RAM but may improve performance.

| Improve this Doc View Source

LibtorrentDiskCache

Amount of data (in MiB) that will remain in RAM before being written to disk. If set to 0, no data will be kept in RAM and instead it will be immediately written to disk (you might see performance impact.)

Declaration
[JsonProperty("disk_cache")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public int? LibtorrentDiskCache { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
See Also
LibtorrentDiskCacheExpiryInterval
| Improve this Doc View Source

LibtorrentDiskCacheExpiryInterval

The number of seconds from the last cached write to a piece in the write cache, to when it's forcefully flushed to disk.

Declaration
[JsonProperty("disk_cache_ttl")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public int? LibtorrentDiskCacheExpiryInterval { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
See Also
LibtorrentDiskCache
| Improve this Doc View Source

LibtorrentEmbeddedTrackerPort

The port the embedded tracker should listen on.

Declaration
[JsonProperty("embedded_tracker_port")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public int? LibtorrentEmbeddedTrackerPort { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
See Also
LibtorrentEnableEmbeddedTracker
| Improve this Doc View Source

LibtorrentEnableEmbeddedTracker

Enable qbittorrent's tracker functionality.

Declaration
[JsonProperty("enable_embedded_tracker")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public bool? LibtorrentEnableEmbeddedTracker { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
Remarks

It is not a fully-featured bittorrent tracker, but it supports the basic features need for sharing a few torrents.

See Also
LibtorrentEmbeddedTrackerPort
| Improve this Doc View Source

LibtorrentFilePoolSize

The upper limit on the total number of files the session will keep open.

Declaration
[JsonProperty("file_pool_size")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public int? LibtorrentFilePoolSize { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
Remarks

The reason why files are left open at all is that some anti virus software hooks on every file close, and scans the file for viruses. Deferring the closing of the files will be the difference between a usable system and a completely hogged down system. Most operating systems also has a limit on the total number of file descriptors a process may have open.

| Improve this Doc View Source

LibtorrentMaxConcurrentHttpAnnounces

Limits the number of concurrent HTTP tracker announces. Once the limit is hit, tracker requests are queued and issued when an outstanding announce completes.

Declaration
[JsonProperty("max_concurrent_http_announces")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.6")]
public int? LibtorrentMaxConcurrentHttpAnnounces { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

LibtorrentOutgoingPortsMax

The end of the range of ports to use for binding outgoing connections to.

Declaration
[JsonProperty("outgoing_ports_max")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public int? LibtorrentOutgoingPortsMax { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
Remarks

This property together with LibtorrentOutgoingPortsMin defines the range of ports to use for binding outgoing connections to. The range shouldn't be too small.

The value of 0 disables this setting.

Setting outgoing ports will limit the ability to keep multiple connections to the same client, even for different torrents. It is not recommended to change this setting. Its main purpose is to use it as an escape hatch for cheap routers with QoS capability but can only classify flows based on port numbers. It is a range instead of a single port because of the problems with failing to reconnect to peers if a previous socket to that peer and port is in the waiting state.

See Also
LibtorrentOutgoingPortsMin
| Improve this Doc View Source

LibtorrentOutgoingPortsMin

The start of the range of ports to use for binding outgoing connections to.

Declaration
[JsonProperty("outgoing_ports_min")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public int? LibtorrentOutgoingPortsMin { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
Remarks

This property together with LibtorrentOutgoingPortsMax defines the range of ports to use for binding outgoing connections to. The range shouldn't be too small.

The value of 0 disables this setting.

Setting outgoing ports will limit the ability to keep multiple connections to the same client, even for different torrents. It is not recommended to change this setting. Its main purpose is to use it as an escape hatch for cheap routers with QoS capability but can only classify flows based on port numbers. It is a range instead of a single port because of the problems with failing to reconnect to peers if a previous socket to that peer and port is in the waiting state.

See Also
LibtorrentOutgoingPortsMax
| Improve this Doc View Source

LibtorrentOutstandingMemoryWhenCheckingTorrent

The amount of memory (in MiB) to use when checking torrents. Higher numbers give faster rechecks but use more memory.

Declaration
[JsonProperty("checking_memory_use")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public int? LibtorrentOutstandingMemoryWhenCheckingTorrent { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

LibtorrentPieceExtentAffinity

When this is true, create an affinity for downloading 4 MiB extents of adjacent pieces.

Declaration
[JsonProperty("enable_piece_extent_affinity")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.4.1")]
public bool? LibtorrentPieceExtentAffinity { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
Remarks

This is an attempt to achieve better disk I/O throughput by downloading larger extents of bytes, for torrents with small piece sizes.

| Improve this Doc View Source

LibtorrentSendBufferLowWatermark

The minimum send buffer target size in kiB.

Declaration
[JsonProperty("send_buffer_low_watermark")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public int? LibtorrentSendBufferLowWatermark { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
Remarks

Send buffer includes bytes pending being read from disk.

For good and snappy seeding performance, set this fairly high, to at least fit a few blocks. This is essentially the initial window size which will determine how fast we can ramp up the send rate.

See Also
LibtorrentSendBufferWatermark
LibtorrentSendBufferWatermarkFactor
| Improve this Doc View Source

LibtorrentSendBufferWatermark

The upper limit for the send buffer size in kiB.

Declaration
[JsonProperty("send_buffer_watermark")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public int? LibtorrentSendBufferWatermark { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
Remarks

If the send buffer has fewer bytes than this, another 16kiB block will be read into it. If set too small, upload rate capacity will suffer. If set too high, memory will be wasted. The actual watermark may be lower than this in case the upload rate is low.

See Also
LibtorrentSendBufferLowWatermark
LibtorrentSendBufferWatermarkFactor
| Improve this Doc View Source

LibtorrentSendBufferWatermarkFactor

The send buffer watermark factor in percent.

Declaration
[JsonProperty("send_buffer_watermark_factor")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public int? LibtorrentSendBufferWatermarkFactor { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
Remarks

The current upload rate to a peer is multiplied by this factor (in percent) to get the send buffer watermark. This product is clamped to the LibtorrentSendBufferWatermark setting so as to not exceed the max. For high speed upload, this should be set to a greater value than 100. For high capacity connections, setting this higher can improve upload performance and disk throughput. Setting it too high may waste RAM and create a bias towards read jobs over write jobs.

See Also
LibtorrentSendBufferWatermark
LibtorrentSendBufferLowWatermark
| Improve this Doc View Source

LibtorrentSendUploadPieceSuggestions

Controls whether or not libtorrent will send out suggest messages to create a bias of its peers to request certain pieces. If enabled, libtorrent will send out suggest messages for the most recent pieces that are in the read cache.

Declaration
[JsonProperty("enable_upload_suggestions")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public bool? LibtorrentSendUploadPieceSuggestions { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

LibtorrentSocketBacklogSize

The number of outstanding incoming connections to queue up while we're not actively waiting for a connection to be accepted.

Declaration
[JsonProperty("socket_backlog_size")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public int? LibtorrentSocketBacklogSize { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
Remarks

The default is 5 which should be sufficient for any normal client. If this is a high performance server which expects to receive a lot of connections, or used in a simulator or test, it might make sense to raise this number.

| Improve this Doc View Source

LibtorrentStopTrackerTimeout

The number of seconds to wait when sending a stopped message before considering a tracker to have timed out.

Declaration
[JsonProperty("stop_tracker_timeout")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.4.1")]
public int? LibtorrentStopTrackerTimeout { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
Remarks

This is usually shorter, to make the client quit faster. If the value is set to 0, the connections to trackers with the stopped event are suppressed.

| Improve this Doc View Source

LibtorrentStrictSuperSeeding

Activate libtorrent's strict mode for super seeding.

Declaration
[JsonProperty("enable_super_seeding")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
[Deprecated("2.5")]
public bool? LibtorrentStrictSuperSeeding { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
Remarks

When this is set to true, a piece has to have been forwarded to a third peer before another one is handed out. This is the traditional definition of super seeding.

| Improve this Doc View Source

LibtorrentUploadChokingAlgorithm

Controls the seeding unchoke behavior.

Declaration
[JsonProperty("upload_choking_algorithm")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public SeedChokingAlgorithm? LibtorrentUploadChokingAlgorithm { get; set; }
Property Value
Type Description
System.Nullable<SeedChokingAlgorithm>
| Improve this Doc View Source

LibtorrentUploadSlotsBehavior

Specifies which algorithm to use to determine which peers to unchoke.

Declaration
[JsonProperty("upload_slots_behavior")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public ChokingAlgorithm? LibtorrentUploadSlotsBehavior { get; set; }
Property Value
Type Description
System.Nullable<ChokingAlgorithm>
| Improve this Doc View Source

LibtorrentUseOSCache

When enabled, files are opened normally, with the OS caching reads and writes.

Declaration
[JsonProperty("enable_os_cache")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3", MaxVersion = "2.8.19")]
public bool? LibtorrentUseOSCache { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
Remarks

Enable for better performance, disable if you also disabled libtorrent's read cache, or to help preventing the operating system from growing its file cache indefinitely, or if you want to prevent qbittorrent from potentially evicting all other processes' cache (which may result in lower perceived system responsiveness).

| Improve this Doc View Source

LibtorrentUtpTcpMixedModeAlgorithm

Determines how to treat TCP connections when there are uTP connections.

Declaration
[JsonProperty("utp_tcp_mixed_mode")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public UtpTcpMixedModeAlgorithm? LibtorrentUtpTcpMixedModeAlgorithm { get; set; }
Property Value
Type Description
System.Nullable<UtpTcpMixedModeAlgorithm>
Remarks

Since uTP is designed to yield to TCP, there's an inherent problem when using swarms that have both TCP and uTP connections. If nothing is done, uTP connections would often be starved out for bandwidth by the TCP connections. This mode is called PreferTcp in qBittorrent.

The PeerProportional mode on the other hand, simply looks at the current throughput and rate limits all TCP connections to their proportional share based on how many of the connections are TCP. This works best if uTP connections are not rate limited by the global rate limiter.

| Improve this Doc View Source

LimitLAN

True if DownloadLimit and UploadLimit should be applied to peers on the LAN

Declaration
[JsonProperty("limit_lan_peers")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.2.0")]
public bool? LimitLAN { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

LimitTcpOverhead

True if DownloadLimit and UploadLimit should be applied to estimated TCP overhead (service data: e.g. packet headers).

Declaration
[JsonProperty("limit_tcp_overhead")]
public bool? LimitTcpOverhead { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

LimitUTPRate

True if DownloadLimit and UploadLimit should be applied to uTP connections.

Declaration
[JsonProperty("limit_utp_rate")]
public bool? LimitUTPRate { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

ListenOnIPv6Address

Allows qBittorrent to listen on IPv6 address in addition to the old, standard IPv4.

Declaration
[JsonProperty("listen_on_ipv6_address")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
[Deprecated("2.4")]
public bool? ListenOnIPv6Address { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

ListenPort

Port for incoming connections.

Declaration
[JsonProperty("listen_port")]
public int? ListenPort { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

Locale

Currently selected language

Declaration
[JsonProperty("locale")]
public string Locale { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

LocalPeerDiscovery

True if local peer discovery is enabled

Declaration
[JsonProperty("lsd")]
public bool? LocalPeerDiscovery { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

MailNotificationAuthenticationEnabled

True if SMTP server requires authentication

Declaration
[JsonProperty("mail_notification_auth_enabled")]
public bool? MailNotificationAuthenticationEnabled { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

MailNotificationEmailAddress

E-mail address to send notifications to.

Declaration
[JsonProperty("mail_notification_email")]
public string MailNotificationEmailAddress { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

MailNotificationEnabled

True if e-mail notification should be enabled.

Declaration
[JsonProperty("mail_notification_enabled")]
public bool? MailNotificationEnabled { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

MailNotificationPassword

Password for SMTP authentication.

Declaration
[JsonProperty("mail_notification_password")]
public string MailNotificationPassword { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

MailNotificationSender

E-mail where notifications should originate from

Declaration
[JsonProperty("mail_notification_sender")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.2.0")]
public string MailNotificationSender { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

MailNotificationSmtpServer

SMTP server for e-mail notifications.

Declaration
[JsonProperty("mail_notification_smtp")]
public string MailNotificationSmtpServer { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

MailNotificationSslEnabled

True if SMTP server requires SSL connection.

Declaration
[JsonProperty("mail_notification_ssl_enabled")]
public bool? MailNotificationSslEnabled { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

MailNotificationUsername

Username for SMTP authentication.

Declaration
[JsonProperty("mail_notification_username")]
public string MailNotificationUsername { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

MaxActiveDownloads

Maximum number of active simultaneous downloads

Declaration
[JsonProperty("max_active_downloads")]
public int? MaxActiveDownloads { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

MaxActiveTorrents

Maximum number of active simultaneous downloads and uploads

Declaration
[JsonProperty("max_active_torrents")]
public int? MaxActiveTorrents { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

MaxActiveUploads

Maximum number of active simultaneous uploads

Declaration
[JsonProperty("max_active_uploads")]
public int? MaxActiveUploads { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

MaxConnections

Maximum global number of simultaneous connections.

Declaration
[JsonProperty("max_connec")]
public int? MaxConnections { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

MaxConnectionsPerTorrent

Maximum number of simultaneous connections per torrent.

Declaration
[JsonProperty("max_connec_per_torrent")]
public int? MaxConnectionsPerTorrent { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

MaxInactiveSeedingTime

Maximal inactive seeding time in minutes.

Declaration
[JsonProperty("max_inactive_seeding_time")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.9.2")]
public int? MaxInactiveSeedingTime { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

MaxInactiveSeedingTimeEnabled

True if maximal inactive seeding time is enabled.

Declaration
[JsonProperty("max_inactive_seeding_time_enabled")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.9.2")]
public bool? MaxInactiveSeedingTimeEnabled { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

MaxRatio

Get the global share ratio limit

Declaration
[JsonProperty("max_ratio")]
public double? MaxRatio { get; set; }
Property Value
Type Description
System.Nullable<System.Double>
| Improve this Doc View Source

MaxRatioAction

Action performed when a torrent reaches the maximum share ratio.

Declaration
[JsonProperty("max_ratio_act")]
public MaxRatioAction? MaxRatioAction { get; set; }
Property Value
Type Description
System.Nullable<MaxRatioAction>
| Improve this Doc View Source

MaxRatioEnabled

True if share ratio limit is enabled

Declaration
[JsonProperty("max_ratio_enabled")]
public bool? MaxRatioEnabled { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

MaxSeedingTime

Maximal seeding time in minutes.

Declaration
[JsonProperty("max_seeding_time")]
public int? MaxSeedingTime { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

MaxSeedingTimeEnabled

True if maximal seeding time is enabled.

Declaration
[JsonProperty("max_seeding_time_enabled")]
public bool? MaxSeedingTimeEnabled { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

MaxUploads

Maximum number of upload slots.

Declaration
[JsonProperty("max_uploads")]
public int? MaxUploads { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

MaxUploadsPerTorrent

Maximum number of upload slots per torrent

Declaration
[JsonProperty("max_uploads_per_torrent")]
public int? MaxUploadsPerTorrent { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

PeerExchange

True if peer exchange PeX is enabled.

Declaration
[JsonProperty("pex")]
public bool? PeerExchange { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

PreallocateAll

True if file preallocation should take place, otherwise sparse files are used.

Declaration
[JsonProperty("preallocate_all")]
public bool? PreallocateAll { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

ProxyAddress

Proxy IP address or domain name.

Declaration
[JsonProperty("proxy_ip")]
public string ProxyAddress { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ProxyAuthenticationEnabled

True if proxy requires authentication; doesn't apply to SOCKS4 proxies.

Declaration
[JsonProperty("proxy_auth_enabled")]
[Obsolete("Use ProxyType instead.")]
public bool? ProxyAuthenticationEnabled { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

ProxyBittorrent

True if proxy should be used for BitTorrent purposes.

Declaration
[JsonProperty("proxy_bittorrent")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.9.1")]
public bool? ProxyBittorrent { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

ProxyHostnameLookup

True if proxy should be used to perform hostname lookup.

Declaration
[JsonProperty("proxy_hostname_lookup")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.8.18")]
public bool? ProxyHostnameLookup { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

ProxyMisc

True if proxy should be used for general purposes.

Declaration
[JsonProperty("proxy_misc")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.9.1")]
public bool? ProxyMisc { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

ProxyPassword

Password for proxy authentication.

Declaration
[JsonProperty("proxy_password")]
public string ProxyPassword { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ProxyPeerConnections

True if peer and web seed connections should be proxified.

Declaration
[JsonProperty("proxy_peer_connections")]
public bool? ProxyPeerConnections { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

ProxyPort

Proxy port.

Declaration
[JsonProperty("proxy_port")]
public int? ProxyPort { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

ProxyRss

True if proxy should be used for RSS purposes.

Declaration
[JsonProperty("proxy_rss")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.9.1")]
public bool? ProxyRss { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

ProxyTorrentsOnly

True if proxy should be used only for torrents.

Declaration
[JsonProperty("proxy_torrents_only")]
[ApiLevel(ApiLevel.V2, MaxVersion = "2.8.19")]
public bool? ProxyTorrentsOnly { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

ProxyType

Proxy type.

Declaration
[JsonProperty("proxy_type")]
public ProxyType? ProxyType { get; set; }
Property Value
Type Description
System.Nullable<ProxyType>
| Improve this Doc View Source

ProxyUsername

Username for proxy authentication.

Declaration
[JsonProperty("proxy_username")]
public string ProxyUsername { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

QueueingEnabled

True if torrent queuing is enabled

Declaration
[JsonProperty("queueing_enabled")]
public bool? QueueingEnabled { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

RandomPort

True if the port is randomly selected

Declaration
[JsonProperty("random_port")]
public bool? RandomPort { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

RecheckCompletedTorrents

When enabled, after the torrent is completely downloaded a recheck operation is performed on the torrent.

Declaration
[JsonProperty("recheck_completed_torrents")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public bool? RecheckCompletedTorrents { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

ResolvePeerCountries

When enabled, qBittorrent tries to lookup the originating country of each peer using GeoIP database.

Declaration
[JsonProperty("resolve_peer_countries")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public bool? ResolvePeerCountries { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

RssAutoDownloadingEnabled

Enable auto-downloading of torrents from the RSS feeds.

Declaration
[JsonProperty("rss_auto_downloading_enabled")]
public bool? RssAutoDownloadingEnabled { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

RssDownloadRepackProperEpisodes

Enables downloading REPACK/PROPER episodes.

Declaration
[JsonProperty("rss_download_repack_proper_episodes")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.5.1")]
public bool? RssDownloadRepackProperEpisodes { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

RssMaxArticlesPerFeed

Max stored articles per RSS feed.

Declaration
[JsonProperty("rss_max_articles_per_feed")]
public int? RssMaxArticlesPerFeed { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

RssProcessingEnabled

Enable processing of RSS feeds.

Declaration
[JsonProperty("rss_processing_enabled")]
public bool? RssProcessingEnabled { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

RssRefreshInterval

RSS refresh interval.

Declaration
[JsonProperty("rss_refresh_interval")]
public uint? RssRefreshInterval { get; set; }
Property Value
Type Description
System.Nullable<System.UInt32>
| Improve this Doc View Source

RssSmartEpisodeFilters

Smart episode filters.

Declaration
[JsonProperty("rss_smart_episode_filters")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.5.1")]
[JsonConverter(typeof(SeparatedStringToListConverter), new object[]{"\n"})]
public IList<string> RssSmartEpisodeFilters { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>
| Improve this Doc View Source

SavePath

Default save path for torrents, separated by slashes

Declaration
[JsonProperty("save_path")]
public string SavePath { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SaveResumeDataInterval

Duration in minutes on which the resume data is saved to the disk.

Declaration
[JsonProperty("save_resume_data_interval")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public int? SaveResumeDataInterval { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

ScanDirectories

List of watch folders to add torrent automatically.

Declaration
[JsonProperty("scan_dirs")]
public IDictionary<string, SaveLocation> ScanDirectories { get; set; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, SaveLocation>
| Improve this Doc View Source

ScheduleFromHour

Scheduler starting hour.

Declaration
[JsonProperty("schedule_from_hour")]
public int? ScheduleFromHour { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

ScheduleFromMinute

Scheduler starting minute.

Declaration
[JsonProperty("schedule_from_min")]
public int? ScheduleFromMinute { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

SchedulerDays

Scheduler days.

Declaration
[JsonProperty("scheduler_days")]
public SchedulerDay? SchedulerDays { get; set; }
Property Value
Type Description
System.Nullable<SchedulerDay>
| Improve this Doc View Source

SchedulerEnabled

True if alternative limits should be applied according to schedule

Declaration
[JsonProperty("scheduler_enabled")]
public bool? SchedulerEnabled { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

ScheduleToHour

Scheduler ending hour.

Declaration
[JsonProperty("schedule_to_hour")]
public int? ScheduleToHour { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

ScheduleToMinute

Scheduler ending minute.

Declaration
[JsonProperty("schedule_to_min")]
public int? ScheduleToMinute { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

SlowTorrentDownloadRateThreshold

Download rate in KiB/s for a torrent to be considered "slow"

Declaration
[JsonProperty("slow_torrent_dl_rate_threshold")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.2.0")]
public int? SlowTorrentDownloadRateThreshold { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

SlowTorrentInactiveTime

Time in seconds a torrent should be inactive before considered "slow"

Declaration
[JsonProperty("slow_torrent_inactive_timer")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.2.0")]
public int? SlowTorrentInactiveTime { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

SlowTorrentUploadRateThreshold

Upload rate in KiB/s for a torrent to be considered "slow"

Declaration
[JsonProperty("slow_torrent_ul_rate_threshold")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.2.0")]
public int? SlowTorrentUploadRateThreshold { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

TempPath

Path for incomplete torrents, separated by slashes

Declaration
[JsonProperty("temp_path")]
public string TempPath { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

TempPathEnabled

True if folder for incomplete torrents is enabled

Declaration
[JsonProperty("temp_path_enabled")]
public bool? TempPathEnabled { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

TorrentContentLayout

The default torrent content layout.

Declaration
[JsonProperty("torrent_content_layout")]
[JsonConverter(typeof(StringEnumConverter))]
[ApiLevel(ApiLevel.V2, MinVersion = "2.7")]
public TorrentContentLayout? TorrentContentLayout { get; set; }
Property Value
Type Description
System.Nullable<TorrentContentLayout>
| Improve this Doc View Source

TorrentFileAutoDeleteMode

Declaration
[JsonProperty("auto_delete_mode")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.2.0")]
public TorrentFileAutoDeleteMode? TorrentFileAutoDeleteMode { get; set; }
Property Value
Type Description
System.Nullable<TorrentFileAutoDeleteMode>
| Improve this Doc View Source

UploadLimit

Global upload speed limit in KiB/s; -1 means no limit is applied.

Declaration
[JsonProperty("up_limit")]
public int? UploadLimit { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

UpnpEnabled

True if UPnP/NAT-PMP is enabled.

Declaration
[JsonProperty("upnp")]
public bool? UpnpEnabled { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

WebUIAddress

WebUI IP address. Use * to accept connections on any IP address.

Declaration
[JsonProperty("web_ui_address")]
public string WebUIAddress { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

WebUIBanDuration

The duration (in seconds) the client will be banned for after WebUIMaxAuthenticationFailures failed authentication attempts.

Declaration
[JsonProperty("web_ui_ban_duration")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.4.1")]
public int? WebUIBanDuration { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

WebUIClickjackingProtection

True if WebUI clickjacking protection is enabled

Declaration
[JsonProperty("web_ui_clickjacking_protection_enabled")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.0.2")]
public bool? WebUIClickjackingProtection { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

WebUICsrfProtection

True if WebUI CSRF protection is enabled

Declaration
[JsonProperty("web_ui_csrf_protection_enabled")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.0.2")]
public bool? WebUICsrfProtection { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

WebUICustomHttpHeaders

Custom HTTP headers to be used for Web UI.

Declaration
[JsonProperty("web_ui_custom_http_headers")]
[JsonConverter(typeof(SeparatedStringToListConverter), new object[]{"\n"})]
[ApiLevel(ApiLevel.V2, MinVersion = "2.5.1")]
public IList<string> WebUICustomHttpHeaders { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>
Remarks

Each header must be specified as a key-value pair separated by a colon, i.e.HEADER:VALUE. The headers must be separated by a new-line character (\n).

| Improve this Doc View Source

WebUICustomHttpHeadersEnabled

True if custom HTTP headers are enabled for Web UI.

Declaration
[JsonProperty("web_ui_use_custom_http_headers_enabled")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.5.1")]
public bool? WebUICustomHttpHeadersEnabled { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

WebUIDomain

WebUI domain. Use * to accept connections on any domain.

Declaration
[JsonProperty("web_ui_domain_list")]
public string WebUIDomain { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

WebUIHostHeaderValidation

True if WebUI host header validation is enabled

Declaration
[JsonProperty("web_ui_host_header_validation_enabled")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.2")]
public bool? WebUIHostHeaderValidation { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

WebUIHttps

True if WebUI HTTPS access is enabled.

Declaration
[JsonProperty("use_https")]
public bool? WebUIHttps { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

WebUIMaxAuthenticationFailures

The number of the failed authentication attempt after which the client will be banned.

Declaration
[JsonProperty("web_ui_max_auth_fail_count")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.4.1")]
public int? WebUIMaxAuthenticationFailures { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
See Also
WebUIBanDuration
| Improve this Doc View Source

WebUIPassword

WebUI password.

Declaration
[JsonIgnore]
public string WebUIPassword { get; set; }
Property Value
Type Description
System.String
Remarks

This property should be used for setting password. If a Preferences object is retrieved as server response, this property will be null.

| Improve this Doc View Source

WebUIPasswordHash

MD5 hash of WebUI password.

Declaration
[JsonIgnore]
public string WebUIPasswordHash { get; set; }
Property Value
Type Description
System.String
Remarks

This property can be used to get the MD5 hash of the current WebUI password. It is ignored when sending requests to the server.

| Improve this Doc View Source

WebUIPort

WebUI port.

Declaration
[JsonProperty("web_ui_port")]
public int? WebUIPort { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

WebUISecureCookie

True if Secure attribute is set on cookie when using HTTPS

Declaration
[JsonProperty("web_ui_secure_cookie_enabled")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.4.1")]
public bool? WebUISecureCookie { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

WebUISessionTimeout

Web UI session timeout in seconds

Declaration
[JsonProperty("web_ui_session_timeout")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public int? WebUISessionTimeout { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>
| Improve this Doc View Source

WebUISslCertificate

SSL certificate contents (this is a not a path).

Declaration
[JsonProperty("ssl_cert")]
[Deprecated("2.3", Description = "Use WebUISslCertificatePath on API 2.3 or later.")]
public string WebUISslCertificate { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

WebUISslCertificatePath

SSL certificate file path on the server.

Declaration
[JsonProperty("web_ui_https_cert_path")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public string WebUISslCertificatePath { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

WebUISslKey

SSL keyfile contents (this is a not a path).

Declaration
[JsonProperty("ssl_key")]
[Deprecated("2.3", Description = "Use WebUISslKeyPath on API 2.3 or later.")]
public string WebUISslKey { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

WebUISslKeyPath

SSL key file path on the server.

Declaration
[JsonProperty("web_ui_https_key_path")]
[ApiLevel(ApiLevel.V2, MinVersion = "2.3")]
public string WebUISslKeyPath { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

WebUIUpnp

True if UPnP is used for the WebUI port.

Declaration
[JsonProperty("web_ui_upnp")]
public bool? WebUIUpnp { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

WebUIUsername

WebUI username

Declaration
[JsonProperty("web_ui_username")]
public string WebUIUsername { get; set; }
Property Value
Type Description
System.String
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018 Pavel Fedarovich