C# Class Shadowsocks.Model.Configuration

Show file Open project: shadowsocks/shadowsocks-windows Class Usage Examples

Public Properties

Property Type Description
autoCheckUpdate bool
availabilityStatistics bool
checkPreRelease bool
configs List
enabled bool
global bool
hotkey Shadowsocks.Model.HotkeyConfig
index int
isDefault bool
isVerboseLogging bool
localPort int
logViewer Shadowsocks.Model.LogViewerConfig
pacUrl string
proxy Shadowsocks.Model.ProxyConfig
secureLocalPac bool
shareOverLan bool
strategy string
useOnlinePac bool

Public Methods

Method Description
CheckLocalPort ( int port ) : void
CheckPort ( int port ) : void
CheckServer ( Server server ) : void
CheckServer ( string server ) : void
CheckTimeout ( int timeout, int maxTimeout ) : void
GetCurrentServer ( ) : Server
GetDefaultServer ( ) : Server
Load ( ) : Configuration
Save ( Configuration config ) : void

Private Methods

Method Description
Assert ( bool condition ) : void
CheckPassword ( string password ) : void

Method Details

CheckLocalPort() public static method

public static CheckLocalPort ( int port ) : void
port int
return void

CheckPort() public static method

public static CheckPort ( int port ) : void
port int
return void

CheckServer() public static method

public static CheckServer ( Server server ) : void
server Server
return void

CheckServer() public static method

public static CheckServer ( string server ) : void
server string
return void

CheckTimeout() public static method

public static CheckTimeout ( int timeout, int maxTimeout ) : void
timeout int
maxTimeout int
return void

GetCurrentServer() public method

public GetCurrentServer ( ) : Server
return Server

GetDefaultServer() public static method

public static GetDefaultServer ( ) : Server
return Server

Load() public static method

public static Load ( ) : Configuration
return Configuration

Save() public static method

public static Save ( Configuration config ) : void
config Configuration
return void

Property Details

autoCheckUpdate public property

public bool autoCheckUpdate
return bool

availabilityStatistics public property

public bool availabilityStatistics
return bool

checkPreRelease public property

public bool checkPreRelease
return bool

configs public property

public List configs
return List

enabled public property

public bool enabled
return bool

global public property

public bool global
return bool

hotkey public property

public HotkeyConfig,Shadowsocks.Model hotkey
return Shadowsocks.Model.HotkeyConfig

index public property

public int index
return int

isDefault public property

public bool isDefault
return bool

isVerboseLogging public property

public bool isVerboseLogging
return bool

localPort public property

public int localPort
return int

logViewer public property

public LogViewerConfig,Shadowsocks.Model logViewer
return Shadowsocks.Model.LogViewerConfig

pacUrl public property

public string pacUrl
return string

proxy public property

public ProxyConfig,Shadowsocks.Model proxy
return Shadowsocks.Model.ProxyConfig

secureLocalPac public property

public bool secureLocalPac
return bool

shareOverLan public property

public bool shareOverLan
return bool

strategy public property

public string strategy
return string

useOnlinePac public property

public bool useOnlinePac
return bool