Class PayloadGenerator.ShadowSocksConfig
Inherited Members
Namespace: QRCoder
Assembly: Subsembly.Scraper.dll
Syntax
public class PayloadGenerator.ShadowSocksConfig : PayloadGenerator.Payload
Constructors
ShadowSocksConfig(string, int, string, Method, Dictionary<string, string>, string)
Declaration
public ShadowSocksConfig(string hostname, int port, string password, PayloadGenerator.ShadowSocksConfig.Method method, Dictionary<string, string> parameters, string tag = null)
Parameters
Type | Name | Description |
---|---|---|
string | hostname | |
int | port | |
string | password | |
PayloadGenerator.ShadowSocksConfig.Method | method | |
Dictionary<string, string> | parameters | |
string | tag |
ShadowSocksConfig(string, int, string, Method, string)
Generates a ShadowSocks proxy config payload.
Declaration
public ShadowSocksConfig(string hostname, int port, string password, PayloadGenerator.ShadowSocksConfig.Method method, string tag = null)
Parameters
Type | Name | Description |
---|---|---|
string | hostname | Hostname of the ShadowSocks proxy |
int | port | Port of the ShadowSocks proxy |
string | password | Password of the SS proxy |
PayloadGenerator.ShadowSocksConfig.Method | method | Encryption type |
string | tag | Optional tag line |
ShadowSocksConfig(string, int, string, Method, string, string, string)
Declaration
public ShadowSocksConfig(string hostname, int port, string password, PayloadGenerator.ShadowSocksConfig.Method method, string plugin, string pluginOption, string tag = null)
Parameters
Type | Name | Description |
---|---|---|
string | hostname | |
int | port | |
string | password | |
PayloadGenerator.ShadowSocksConfig.Method | method | |
string | plugin | |
string | pluginOption | |
string | tag |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |