C# Class Shadowsocks.Model.Configuration

Afficher le fichier Open project: shadowsocks/shadowsocks-windows Class Usage Examples

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode 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

Méthode Description
Assert ( bool condition ) : void
CheckPassword ( string password ) : void

Method Details

CheckLocalPort() public static méthode

public static CheckLocalPort ( int port ) : void
port int
Résultat void

CheckPort() public static méthode

public static CheckPort ( int port ) : void
port int
Résultat void

CheckServer() public static méthode

public static CheckServer ( Server server ) : void
server Server
Résultat void

CheckServer() public static méthode

public static CheckServer ( string server ) : void
server string
Résultat void

CheckTimeout() public static méthode

public static CheckTimeout ( int timeout, int maxTimeout ) : void
timeout int
maxTimeout int
Résultat void

GetCurrentServer() public méthode

public GetCurrentServer ( ) : Server
Résultat Server

GetDefaultServer() public static méthode

public static GetDefaultServer ( ) : Server
Résultat Server

Load() public static méthode

public static Load ( ) : Configuration
Résultat Configuration

Save() public static méthode

public static Save ( Configuration config ) : void
config Configuration
Résultat void

Property Details

autoCheckUpdate public_oe property

public bool autoCheckUpdate
Résultat bool

availabilityStatistics public_oe property

public bool availabilityStatistics
Résultat bool

checkPreRelease public_oe property

public bool checkPreRelease
Résultat bool

configs public_oe property

public List configs
Résultat List

enabled public_oe property

public bool enabled
Résultat bool

global public_oe property

public bool global
Résultat bool

hotkey public_oe property

public HotkeyConfig,Shadowsocks.Model hotkey
Résultat Shadowsocks.Model.HotkeyConfig

index public_oe property

public int index
Résultat int

isDefault public_oe property

public bool isDefault
Résultat bool

isVerboseLogging public_oe property

public bool isVerboseLogging
Résultat bool

localPort public_oe property

public int localPort
Résultat int

logViewer public_oe property

public LogViewerConfig,Shadowsocks.Model logViewer
Résultat Shadowsocks.Model.LogViewerConfig

pacUrl public_oe property

public string pacUrl
Résultat string

proxy public_oe property

public ProxyConfig,Shadowsocks.Model proxy
Résultat Shadowsocks.Model.ProxyConfig

secureLocalPac public_oe property

public bool secureLocalPac
Résultat bool

shareOverLan public_oe property

public bool shareOverLan
Résultat bool

strategy public_oe property

public string strategy
Résultat string

useOnlinePac public_oe property

public bool useOnlinePac
Résultat bool