Class ConfigSettings
Contains all the settings of a Config.
Implements
Inherited Members
Namespace: RuriLib
Assembly: RuriLib.dll
Syntax
public class ConfigSettings : ViewModelBase, INotifyPropertyChanged
Properties
| Improve this Doc View SourceAdditionalInfo
Additional information on the Config usage.
Declaration
public string AdditionalInfo { get; set; }
Property Value
Type | Description |
---|---|
System.String |
AllowedWordlist1
The name of the first allowed WordlistType.
Declaration
public string AllowedWordlist1 { get; set; }
Property Value
Type | Description |
---|---|
System.String |
AllowedWordlist2
The name of the second allowed WordlistType.
Declaration
public string AllowedWordlist2 { get; set; }
Property Value
Type | Description |
---|---|
System.String |
AlwaysOpen
Whether to always open a browser at the start of the checking process (if not already open).
Declaration
public bool AlwaysOpen { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AlwaysQuit
Whether to always quit the browser and dispose of the WebDriver at the end of the checking process (if any browser is open).
Declaration
public bool AlwaysQuit { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Author
The name of the Author of the Config.
Declaration
public string Author { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CustomCMDArgs
The custom command line arguments that are sent when running the executable file.
Declaration
public string CustomCMDArgs { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CustomInputs
The collection of custom inputs that the Runner asks to the user upon start.
Declaration
public ObservableCollection<CustomInput> CustomInputs { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<CustomInput> |
CustomUserAgent
The custom User-Agent header that should be used for every request of the browser.
Declaration
public string CustomUserAgent { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DataRules
The collection of data rules that check if a data line is valid.
Declaration
public ObservableCollection<DataRule> DataRules { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<DataRule> |
DisableNotifications
Whether to disable notifications the lock the page and make it impossible to proceed.
Declaration
public bool DisableNotifications { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ForceHeadless
Whether to override the default choice of the user and force headless mode.
Declaration
public bool ForceHeadless { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IgnoreResponseErrors
Whether to proceed if an HTTP request fails instead of giving the ERROR status.
Declaration
public bool IgnoreResponseErrors { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
LastModified
When the Config was last modified.
Declaration
public DateTime LastModified { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
MaxProxyUses
The maximum amount of times a proxy can be used before being banned by the Runner (0 for infinite).
Declaration
public int MaxProxyUses { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Name
The name of the Config.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
NeedsProxies
Whether the Config needs proxies to work (the Runner can override this).
Declaration
public bool NeedsProxies { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
OnlySocks
Whether only SOCKS proxies should be used.
Declaration
public bool OnlySocks { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
OnlySsl
Whether only SSL proxies should be used.
Declaration
public bool OnlySsl { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
RandomUA
Whether to choose a random User-Agent header when opening a browser instance.
Declaration
public bool RandomUA { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
SuggestedBots
The suggested amount of Bots that should be used with the config.
Declaration
public int SuggestedBots { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Version
The version of RuriLib the Config was made with.
Declaration
public string Version { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceGetCustomInputById(Int32)
Gets a CustomInput given its id.
Declaration
public CustomInput GetCustomInputById(int id)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | id | The unique id of the CustomInput |
Returns
Type | Description |
---|---|
CustomInput | The CustomInput |
GetDataRuleById(Int32)
Gets a DataRule given its id.
Declaration
public DataRule GetDataRuleById(int id)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | id | The unique id of the DataRule |
Returns
Type | Description |
---|---|
DataRule | The DataRule |
RemoveCustomInputById(Int32)
Removes a CustomInput given its id.
Declaration
public void RemoveCustomInputById(int id)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | id | The unique id of the CustomInput |
RemoveDataRuleById(Int32)
Removes a DataRule given its id.
Declaration
public void RemoveDataRuleById(int id)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | id | The unique id of the DataRule |