SYMBOL INDEX (1322 symbols across 165 files) FILE: UnitTest/DnsTest.cs class DnsTest (line 12) | [TestClass] method DefaultTest (line 15) | [TestMethod] method Test (line 24) | [TestMethod] method DnsOverTlsTest (line 39) | [TestMethod] method TestTwoDnsAsync (line 48) | [TestMethod] method TestIpv6FallbackAsync (line 68) | [TestMethod] method TestIpv6FirstAsync (line 96) | [TestMethod] FILE: UnitTest/EncryptionTest.cs class EncryptionTest (line 11) | [TestClass] method RunEncryptionRound (line 14) | private void RunEncryptionRound(IEncryptor encryptor, IEncryptor decry... method TestStreamOpenSSLEncryption (line 43) | [TestMethod] method RunSingleStreamOpenSSLEncryptionThread (line 78) | private void RunSingleStreamOpenSSLEncryptionThread(string methodName ... method TestStreamSodiumEncryption (line 88) | [TestMethod] method RunSingleStreamSodiumEncryptionThread (line 122) | private void RunSingleStreamSodiumEncryptionThread(string methodName =... FILE: UnitTest/IPSubnet.cs class IPSubnetTest (line 7) | [TestClass] method IsLoopBackTest (line 10) | [TestMethod] method IsInSubnetTest (line 21) | [TestMethod] FILE: UnitTest/ServerTest.cs class ServerTest (line 7) | [TestClass] method TestServerFromSSR (line 10) | [TestMethod] method TestBadPortNumber (line 44) | [TestMethod] FILE: UnitTest/SubscribeTest.cs class SubscribeTest (line 9) | [TestClass] method ParseTest (line 12) | [TestMethod] FILE: UnitTest/UnitTest.cs class UnitTest (line 10) | [TestClass] method TestMd5 (line 13) | [TestMethod] method EncryptStringTest (line 22) | [TestMethod] FILE: shadowsocks-csharp/Controller/AutoStartup.cs class AutoStartup (line 9) | internal static class AutoStartup method Set (line 13) | public static bool Set(bool enabled) FILE: shadowsocks-csharp/Controller/FileManager.cs class FileManager (line 10) | public static class FileManager method ByteArrayToFile (line 12) | public static bool ByteArrayToFile(string fileName, byte[] content) method DecompressFile (line 28) | public static void DecompressFile(string fileName, byte[] content) method DeflateCompress (line 51) | public static byte[] DeflateCompress(byte[] content, int index, int co... method DeflateDecompress (line 72) | public static byte[] DeflateDecompress(byte[] content, int index, int ... method ZipCompressToFile (line 100) | [SuppressMessage("ReSharper", "AssignNullToNotNullAttribute")] method NonExclusiveReadAllText (line 130) | public static string NonExclusiveReadAllText(string path) method NonExclusiveReadAllText (line 135) | public static string NonExclusiveReadAllText(string path, Encoding enc... FILE: shadowsocks-csharp/Controller/HttpRequest/GfwListUpdater.cs class GfwListUpdater (line 14) | public class GfwListUpdater : HttpRequest class ResultEventArgs (line 24) | public class ResultEventArgs : EventArgs method ResultEventArgs (line 29) | public ResultEventArgs(bool success, PacType pacType) method UpdatePacFromGfwList (line 40) | public async void UpdatePacFromGfwList(Configuration config) method MergeAndWritePacFile (line 59) | public static bool MergeAndWritePacFile(string gfwListResult) method MergePacFile (line 75) | private static string MergePacFile(string gfwListResult) method ParseBase64ToValidList (line 93) | private static List ParseBase64ToValidList(string response) method ParseToValidList (line 100) | private static List ParseToValidList(string content) method UpdateOnlinePac (line 112) | public async void UpdateOnlinePac(Configuration config, string url) FILE: shadowsocks-csharp/Controller/HttpRequest/HttpRequest.cs class HttpRequest (line 9) | public abstract class HttpRequest method CreateClient (line 15) | public static HttpClient CreateClient(bool useProxy, IWebProxy proxy, ... method GetAsync (line 33) | private static async Task GetAsync(string url, IWebProxy proxy... method HeadAsync (line 41) | private static async Task HeadAsync(string url, IWebProxy proxy,... method AutoGetAsync (line 55) | protected static async Task AutoGetAsync(string url, IWebProxy... method DirectGetAsync (line 78) | protected static async Task DirectGetAsync(string url, string ... method ProxyGetAsync (line 84) | protected static async Task ProxyGetAsync(string url, IWebProx... method DefaultGetAsync (line 90) | protected static async Task DefaultGetAsync(string url, string... method CreateProxy (line 96) | protected static IWebProxy CreateProxy(Configuration config) FILE: shadowsocks-csharp/Controller/HttpRequest/UpdateChecker.cs class UpdateChecker (line 7) | public class UpdateChecker : HttpRequest method Check (line 39) | public async void Check(Configuration config, bool notifyNoFound) FILE: shadowsocks-csharp/Controller/HttpRequest/UpdateNode.cs class UpdateNode (line 8) | public class UpdateNode : HttpRequest method CheckUpdate (line 17) | public void CheckUpdate(Configuration config, ServerSubscribe subscrib... method Update (line 34) | private async void Update(HttpRequestProxyType proxyType, IWebProxy pr... FILE: shadowsocks-csharp/Controller/Logging.cs class Logging (line 14) | public static class Logging method OpenLogFile (line 27) | public static bool OpenLogFile() method CloseLogFile (line 63) | private static void CloseLogFile() method Clear (line 74) | public static void Clear() method Error (line 84) | public static void Error(object o) method Info (line 90) | public static void Info(object o) method Debug (line 96) | [Conditional("DEBUG")] method ToString (line 103) | private static string ToString(IEnumerable stacks) method CompressOldLogFile (line 108) | private static void CompressOldLogFile() method UpdateLogFile (line 126) | private static void UpdateLogFile() method LogUsefulException (line 140) | public static void LogUsefulException(Exception e) method LogSocketException (line 188) | public static bool LogSocketException(string remarks, string server, E... method Log (line 232) | public static void Log(LogLevel level, object s) method LogBin (line 238) | [Conditional("DEBUG")] class StreamWriterWithTimestamp (line 253) | public class StreamWriterWithTimestamp : StreamWriter method StreamWriterWithTimestamp (line 255) | public StreamWriterWithTimestamp(Stream stream) : base(stream) method GetTimestamp (line 259) | private static string GetTimestamp() method WriteLine (line 264) | public override void WriteLine(string value) method Write (line 276) | public override void Write(string value) FILE: shadowsocks-csharp/Controller/MainController.cs class MainController (line 17) | public class MainController class PathEventArgs (line 36) | public class PathEventArgs : EventArgs method MainController (line 59) | public MainController() method ReportError (line 73) | private void ReportError(Exception e) method FindFirstMatchServer (line 78) | private static int FindFirstMatchServer(Server server, IReadOnlyList MergeConfiguration(Configuration me... method MergeGetConfiguration (line 126) | private static Configuration MergeGetConfiguration(Configuration merge... method MergeConfiguration (line 140) | public void MergeConfiguration(Configuration mergeConfig) method SaveServersConfig (line 146) | public void SaveServersConfig(Configuration config, bool reload) method SaveServersPortMap (line 165) | public void SaveServersPortMap(Configuration config) method SelectServerIndex (line 177) | public void SelectServerIndex(int index) method AddServerBySsUrl (line 186) | public bool AddServerBySsUrl(string ssUrLs, string force_group = null,... method AddSubscribeUrl (line 228) | public bool AddSubscribeUrl(string str) method ToggleMode (line 276) | public void ToggleMode(ProxyMode mode) method ToggleRuleMode (line 296) | public void ToggleRuleMode(ProxyRuleMode mode) method ToggleSelectRandom (line 302) | public void ToggleSelectRandom(bool enabled) method ToggleSameHostForSameTargetRandom (line 312) | public void ToggleSameHostForSameTargetRandom(bool enabled) method ToggleSelectAutoCheckUpdate (line 318) | public void ToggleSelectAutoCheckUpdate(bool enabled) method ToggleSelectAllowPreRelease (line 324) | public void ToggleSelectAllowPreRelease(bool enabled) method SaveAndNotifyChanged (line 333) | public void SaveAndNotifyChanged() method SaveAndReload (line 342) | private void SaveAndReload() method StopPortMap (line 348) | private void StopPortMap() method LoadPortMap (line 361) | private void LoadPortMap() method Stop (line 383) | public void Stop() method ClearTransferTotal (line 402) | public void ClearTransferTotal(string serverId) method TouchPACFile (line 409) | public void TouchPACFile() method TouchUserRuleFile (line 414) | public void TouchUserRuleFile() method UpdatePACFromGFWList (line 419) | public void UpdatePACFromGFWList() method UpdatePACFromOnlinePac (line 424) | public void UpdatePACFromOnlinePac(string url) method ReloadPacServer (line 429) | private void ReloadPacServer() method ReloadIPRange (line 450) | private void ReloadIPRange() method ReloadProxyRule (line 456) | private void ReloadProxyRule() method Reload (line 469) | public void Reload() method ThrowSocketException (line 519) | private static void ThrowSocketException(ref Exception e) method UpdateSystemProxy (line 544) | private void UpdateSystemProxy() method PacDaemon_UserRuleFileChanged (line 549) | private void PacDaemon_UserRuleFileChanged(object sender, EventArgs e) method ShowConfigForm (line 567) | public void ShowConfigForm(int? index = null) method ShowSubscribeWindow (line 572) | public void ShowSubscribeWindow() method DisconnectAllConnections (line 580) | public void DisconnectAllConnections(bool checkSwitchAutoCloseAll = fa... method CopyPacUrl (line 594) | public void CopyPacUrl() FILE: shadowsocks-csharp/Controller/MenuViewController.cs class MenuViewController (line 25) | public class MenuViewController class EventParams (line 27) | private class EventParams method EventParams (line 32) | public EventParams(object sender, EventArgs e) method MenuViewController (line 89) | public MenuViewController(MainController controller) method timer_Elapsed (line 130) | private void timer_Elapsed(object sender, System.Timers.ElapsedEventAr... method ControllerError (line 143) | private static void ControllerError(object sender, ErrorEventArgs e) method UpdateTrayIcon (line 148) | private void UpdateTrayIcon() method LoadMenu (line 240) | private void LoadMenu() method controller_ConfigChanged (line 355) | private void controller_ConfigChanged(object sender, EventArgs e) method controller_FileReadyToOpen (line 361) | private void controller_FileReadyToOpen(object sender, MainController.... method controller_UpdatePACFromGFWListError (line 366) | private void controller_UpdatePACFromGFWListError(object sender, Error... method controller_UpdatePACFromGFWListCompleted (line 372) | private void controller_UpdatePACFromGFWListCompleted(object sender, G... method UpdateNodeCheckerNewNodeFound (line 381) | private void UpdateNodeCheckerNewNodeFound(object sender, EventArgs e) method updateChecker_NewVersionFound (line 573) | private void updateChecker_NewVersionFound(object sender, EventArgs e) method updateChecker_NewVersionNotFound (line 595) | private void updateChecker_NewVersionNotFound(object sender, EventArgs e) method UpdateChecker_NewVersionFoundFailed (line 602) | private void UpdateChecker_NewVersionFoundFailed(object sender, EventA... method UpdateItem_Clicked (line 607) | private void UpdateItem_Clicked(object sender, RoutedEventArgs e) method notifyIcon_TrayBalloonTipClicked (line 616) | private void notifyIcon_TrayBalloonTipClicked(object sender, RoutedEve... method UpdateSysProxyMode (line 625) | private void UpdateSysProxyMode(Configuration config) method UpdateProxyRule (line 633) | private void UpdateProxyRule(Configuration config) method LoadCurrentConfiguration (line 642) | private void LoadCurrentConfiguration() method CreateSelectedIcon (line 656) | private static Grid CreateSelectedIcon() method UpdateServersMenu (line 668) | private void UpdateServersMenu() method ShowConfigForm (line 746) | private void ShowConfigForm(bool addNode) method ServerConfigWindowClosed (line 773) | private void ServerConfigWindowClosed(object sender, EventArgs e) method ShowConfigForm (line 788) | private void ShowConfigForm(int index) method ShowSettingForm (line 812) | private void ShowSettingForm() method ShowDnsSettingWindow (line 831) | private void ShowDnsSettingWindow() method ShowPortMapForm (line 850) | private void ShowPortMapForm() method ShowServerLogForm (line 874) | private void ShowServerLogForm() method ShowGlobalLogWindow (line 899) | private void ShowGlobalLogWindow() method ShowSubscribeSettingForm (line 923) | private void ShowSubscribeSettingForm() method Config_Click (line 947) | private void Config_Click(object sender, EventArgs e) method Controller_ShowSubscribeWindowEvent (line 959) | private void Controller_ShowSubscribeWindowEvent(object sender, EventA... method Import_Click (line 964) | private void Import_Click(object sender, RoutedEventArgs e) method Setting_Click (line 988) | private void Setting_Click(object sender, RoutedEventArgs e) method DnsSetting_Click (line 993) | private void DnsSetting_Click(object sender, RoutedEventArgs e) method Quit_Click (line 998) | public void Quit_Click(object sender, EventArgs e) method OpenWiki_Click (line 1025) | private static void OpenWiki_Click(object sender, RoutedEventArgs e) method FeedbackItem_Click (line 1030) | private static void FeedbackItem_Click(object sender, RoutedEventArgs e) method notifyIcon_TrayLeftMouseUp (line 1035) | private void notifyIcon_TrayLeftMouseUp(object sender, RoutedEventArgs e) method notifyIcon_TrayMiddleMouseUp (line 1065) | private void notifyIcon_TrayMiddleMouseUp(object sender, RoutedEventAr... method NoModifyItem_Click (line 1070) | private void NoModifyItem_Click(object sender, RoutedEventArgs e) method EnableItem_Click (line 1075) | private void EnableItem_Click(object sender, RoutedEventArgs e) method GlobalModeItem_Click (line 1080) | private void GlobalModeItem_Click(object sender, RoutedEventArgs e) method PACModeItem_Click (line 1085) | private void PACModeItem_Click(object sender, RoutedEventArgs e) method RuleBypassLanItem_Click (line 1090) | private void RuleBypassLanItem_Click(object sender, RoutedEventArgs e) method RuleBypassChinaItem_Click (line 1095) | private void RuleBypassChinaItem_Click(object sender, RoutedEventArgs e) method RuleBypassNotChinaItem_Click (line 1100) | private void RuleBypassNotChinaItem_Click(object sender, RoutedEventAr... method RuleUserItem_Click (line 1105) | private void RuleUserItem_Click(object sender, RoutedEventArgs e) method RuleBypassDisableItem_Click (line 1110) | private void RuleBypassDisableItem_Click(object sender, RoutedEventArg... method SelectRandomItem_Click (line 1115) | private void SelectRandomItem_Click(object sender, RoutedEventArgs e) method AutoCheckUpdateItem_Click (line 1128) | private void AutoCheckUpdateItem_Click(object sender, RoutedEventArgs e) method AllowPreRelease_Click (line 1134) | private void AllowPreRelease_Click(object sender, RoutedEventArgs e) method SelectSameHostForSameTargetItem_Click (line 1140) | private void SelectSameHostForSameTargetItem_Click(object sender, Rout... method CopyPacUrlItem_Click (line 1153) | private void CopyPacUrlItem_Click(object sender, RoutedEventArgs e) method EditPACFileItem_Click (line 1158) | private void EditPACFileItem_Click(object sender, RoutedEventArgs e) method UpdatePACFromGFWListItem_Click (line 1163) | private void UpdatePACFromGFWListItem_Click(object sender, RoutedEvent... method UpdatePACFromLanIPListItem_Click (line 1168) | private void UpdatePACFromLanIPListItem_Click(object sender, RoutedEve... method UpdatePACFromCNWhiteListItem_Click (line 1173) | private void UpdatePACFromCNWhiteListItem_Click(object sender, RoutedE... method UpdatePACFromCNOnlyListItem_Click (line 1179) | private void UpdatePACFromCNOnlyListItem_Click(object sender, RoutedEv... method UpdatePACFromCnWhiteListIpItem_Click (line 1185) | private void UpdatePACFromCnWhiteListIpItem_Click(object sender, Route... method UpdatePACFromChnIpItem_Click (line 1191) | private void UpdatePACFromChnIpItem_Click(object sender, RoutedEventAr... method EditUserRuleFileForGFWListItem_Click (line 1197) | private void EditUserRuleFileForGFWListItem_Click(object sender, Route... method AServerItem_Click (line 1202) | private void AServerItem_Click(object sender, EventArgs e) method CheckUpdate_Click (line 1213) | private void CheckUpdate_Click(object sender, RoutedEventArgs e) method CheckNodeUpdate_Click (line 1218) | private void CheckNodeUpdate_Click(object sender, RoutedEventArgs e) method ShowLogItem_Click (line 1223) | private void ShowLogItem_Click(object sender, RoutedEventArgs e) method ShowPortMapItem_Click (line 1228) | private void ShowPortMapItem_Click(object sender, RoutedEventArgs e) method ShowServerLogItem_Click (line 1233) | private void ShowServerLogItem_Click(object sender, RoutedEventArgs e) method SubscribeSetting_Click (line 1238) | private void SubscribeSetting_Click(object sender, RoutedEventArgs e) method DisconnectCurrent_Click (line 1243) | private void DisconnectCurrent_Click(object sender, RoutedEventArgs e) method ImportAddress (line 1248) | public void ImportAddress(string text) method ImportSsrUrl (line 1255) | private void ImportSsrUrl(string text) method ImportSubUrl (line 1263) | private void ImportSubUrl(string text) method ImportAddressFromClipboard_Click (line 1271) | private void ImportAddressFromClipboard_Click(object sender, RoutedEve... method ScanQRCodeItem_Click (line 1289) | private void ScanQRCodeItem_Click(object sender, RoutedEventArgs e) method Splash_Closed (line 1382) | private void Splash_Closed(object sender, EventArgs e) method Splash_Closed0 (line 1387) | private void Splash_Closed0(object sender, EventArgs e) method ShowUrlFromQrCode (line 1392) | private void ShowUrlFromQrCode() method Splash_Closed2 (line 1400) | private void Splash_Closed2(object sender, EventArgs e) method ShowUrlFromQrCode (line 1405) | private void ShowUrlFromQrCode(object sender, RoutedEventArgs e) FILE: shadowsocks-csharp/Controller/Service/HostDaemon.cs class HostDaemon (line 8) | public class HostDaemon method HostDaemon (line 16) | public HostDaemon() method WatchChnIp (line 22) | private void WatchChnIp() method WatchUserRule (line 37) | private void WatchUserRule() method UserRuleWatcher_Changed (line 52) | private void UserRuleWatcher_Changed(object sender, FileSystemEventArg... method ChnIpWatcher_Changed (line 71) | private void ChnIpWatcher_Changed(object sender, FileSystemEventArgs e) FILE: shadowsocks-csharp/Controller/Service/HostMap.cs class HostMap (line 9) | public static class HostMap method HostMap (line 16) | static HostMap() method Clear (line 21) | private static void Clear() method Reload (line 27) | public static void Reload() method AddHost (line 33) | private static void AddHost(string host, string addr) method GetHost (line 69) | public static bool GetHost(string host, out string addr) method GetIP (line 99) | public static bool GetIP(IPAddress ip, out string addr) method LoadHostFile (line 106) | private static void LoadHostFile() FILE: shadowsocks-csharp/Controller/Service/HttpPortForwarder.cs class HttpPortForwarder (line 10) | internal class HttpPortForwarder : Listener.Service method HttpPortForwarder (line 15) | public HttpPortForwarder(int targetPort, Configuration config) method Handle (line 21) | public override bool Handle(byte[] firstPacket, int length, Socket soc... class Handler (line 31) | private class Handler method Start (line 51) | public void Start(Configuration config, byte[] firstPacket, int leng... method RspHttpHandshakeReceive (line 69) | private void RspHttpHandshakeReceive() method HttpHandshakeRecv (line 111) | private void HttpHandshakeRecv(IAsyncResult ar) method HttpHandshakeAuthEndSend (line 139) | private void HttpHandshakeAuthEndSend(IAsyncResult ar) method StartConnect (line 158) | private void StartConnect(IAsyncResult ar) method Connect (line 173) | private void Connect() method ConnectCallback (line 192) | private void ConnectCallback(IAsyncResult ar) method HandshakeReceive (line 211) | private void HandshakeReceive() method StartPipe (line 228) | private void StartPipe(IAsyncResult ar) method PipeRemoteReceiveCallback (line 247) | private void PipeRemoteReceiveCallback(IAsyncResult ar) method PipeConnectionReceiveCallback (line 275) | private void PipeConnectionReceiveCallback(IAsyncResult ar) method PipeRemoteSendCallback (line 303) | private void PipeRemoteSendCallback(IAsyncResult ar) method PipeConnectionSendCallback (line 322) | private void PipeConnectionSendCallback(IAsyncResult ar) method CheckClose (line 341) | private void CheckClose() method Close (line 349) | private void Close() FILE: shadowsocks-csharp/Controller/Service/HttpProxyRunner.cs class HttpProxyRunner (line 11) | public class HttpProxyRunner method Start (line 17) | public void Start(Configuration configuration) method Stop (line 41) | public void Stop() FILE: shadowsocks-csharp/Controller/Service/Listener.cs class Listener (line 14) | public class Listener type IService (line 16) | public interface IService method Handle (line 18) | bool Handle(byte[] firstPacket, int length, Socket socket); method Stop (line 20) | void Stop(); class Service (line 23) | public abstract class Service : IService method Handle (line 25) | public abstract bool Handle(byte[] firstPacket, int length, Socket s... method Stop (line 27) | public virtual void Stop() { } method Listener (line 38) | public Listener(List services) method CheckIfPortInUse (line 44) | private static bool CheckIfPortInUse(int port) method Start (line 50) | public void Start(Configuration config, int port) method Stop (line 119) | public void Stop() method AcceptCallback (line 137) | private void AcceptCallback(IAsyncResult ar) method ReceiveCallback (line 208) | private void ReceiveCallback(IAsyncResult ar) FILE: shadowsocks-csharp/Controller/Service/Local.cs class Local (line 11) | public class Local : Listener.Service method Local (line 17) | public Local(Configuration config, ServerTransferTotal transfer, IPRan... method Accept (line 24) | private static bool Accept(byte[] firstPacket, int length) method Handle (line 50) | public override bool Handle(byte[] firstPacket, int length, Socket soc... FILE: shadowsocks-csharp/Controller/Service/PACDaemon.cs class PACDaemon (line 12) | public class PACDaemon method PACDaemon (line 24) | public PACDaemon() method TouchPACFile (line 33) | public string TouchPACFile() method TouchUserRuleFile (line 42) | internal string TouchUserRuleFile() method GetPACContent (line 51) | internal string GetPACContent() method WatchPacFile (line 60) | private void WatchPacFile() method WatchUserRuleFile (line 75) | private void WatchUserRuleFile() method PACFileWatcher_Changed (line 94) | private void PACFileWatcher_Changed(object sender, FileSystemEventArgs e) method UserRuleFileWatcher_Changed (line 113) | private void UserRuleFileWatcher_Changed(object sender, FileSystemEven... FILE: shadowsocks-csharp/Controller/Service/PACServer.cs class PACServer (line 11) | public class PACServer : Listener.Service method PACServer (line 26) | public PACServer(PACDaemon pacDaemon) method UpdatePacUrl (line 31) | public void UpdatePacUrl(Configuration config) method Handle (line 38) | public override bool Handle(byte[] firstPacket, int length, Socket soc... method SendResponse (line 130) | private void SendResponse(Socket socket, int socksType, string setProxy) method SendCallback (line 181) | private static void SendCallback(IAsyncResult ar) method GetPACAddress (line 195) | private string GetPACAddress(IPEndPoint localEndPoint, int socksType) FILE: shadowsocks-csharp/Controller/Service/ProtocolResponseDetector.cs class ProtocolResponseDetector (line 5) | internal class ProtocolResponseDetector type Protocol (line 7) | protected enum Protocol method ProtocolResponseDetector (line 23) | public ProtocolResponseDetector() method OnSend (line 28) | public void OnSend(byte[] sendData, int length) method OnRecv (line 80) | public int OnRecv(byte[] recv_data, int length) method Finish (line 123) | private void Finish() FILE: shadowsocks-csharp/Controller/Service/Socks5Forwarder.cs class Socks5Forwarder (line 15) | class Socks5Forwarder : Listener.Service method Socks5Forwarder (line 23) | public Socks5Forwarder(Configuration config, IPRangeSet IPRange) method Handle (line 29) | public override bool Handle(byte[] firstPacket, int length, Socket soc... method Handle (line 34) | public bool Handle(byte[] firstPacket, int length, Socket socket, stri... method IsHandle (line 52) | private int IsHandle(byte[] firstPacket, int length) class Handler (line 193) | private class Handler : IHandler method Start (line 218) | public void Start(Configuration config, byte[] firstPacket, Socket s... method Connect (line 230) | private void Connect() method ConnectProxyServer (line 350) | private bool ConnectProxyServer(string strRemoteHost, int iRemotePort) method ConnectCallback (line 367) | private void ConnectCallback(IAsyncResult ar) method ResetTimeout (line 392) | private void ResetTimeout(double time) method timer_Elapsed (line 438) | private void timer_Elapsed(object sender, ElapsedEventArgs e) method StartPipe (line 447) | private void StartPipe() method PipeRemoteReceiveCallback (line 469) | private void PipeRemoteReceiveCallback(IAsyncResult ar) method PipeRemoteReceiveLoop (line 506) | private void PipeRemoteReceiveLoop() method PipeConnectionReceiveCallback (line 559) | private void PipeConnectionReceiveCallback(IAsyncResult ar) method CloseSocket (line 588) | private void CloseSocket(ProxySocketTun sock) method Close (line 615) | public void Close() method Shutdown (line 632) | public override void Shutdown() FILE: shadowsocks-csharp/Controller/Service/SpeedTest.cs class SpeedTester (line 9) | internal class SpeedTester type TransLog (line 12) | private struct TransLog method BeginConnect (line 34) | public void BeginConnect() method EndConnect (line 39) | public void EndConnect() method BeginUpload (line 44) | public void BeginUpload() method BeginDownload (line 49) | public bool BeginDownload() method AddDownloadSize (line 59) | public bool AddDownloadSize(int size) method AddProtocolRecvSize (line 80) | public void AddProtocolRecvSize(int size) method AddRecvSize (line 85) | public void AddRecvSize(int size) method AddUploadSize (line 90) | public bool AddUploadSize(int size) method TransferLog (line 111) | public string TransferLog() FILE: shadowsocks-csharp/Controller/Service/UpdateSubscribeManager.cs class UpdateSubscribeManager (line 8) | public class UpdateSubscribeManager method CreateTask (line 15) | public void CreateTask(Configuration config, UpdateNode updater, bool ... method Next (line 47) | public void Next() FILE: shadowsocks-csharp/Controller/SystemProxy.cs class SystemProxy (line 9) | public static class SystemProxy method SystemProxy (line 12) | static SystemProxy() method Restore (line 25) | public static void Restore() method Update (line 38) | public static void Update(Configuration config, PACServer pacSrv) FILE: shadowsocks-csharp/Data/abp.js function createDict (line 31) | function createDict() function getOwnPropertyDescriptor (line 38) | function getOwnPropertyDescriptor(obj, key) function extend (line 47) | function extend(subclass, superclass, definition) function Filter (line 70) | function Filter(text) function InvalidFilter (line 106) | function InvalidFilter(text, reason) function CommentFilter (line 115) | function CommentFilter(text) function ActiveFilter (line 122) | function ActiveFilter(text, domains) function RegExpFilter (line 252) | function RegExpFilter(text, regexpSource, contentType, matchCase, domain... function BlockingFilter (line 459) | function BlockingFilter(text, regexpSource, contentType, matchCase, doma... function WhitelistFilter (line 468) | function WhitelistFilter(text, regexpSource, contentType, matchCase, dom... function Matcher (line 475) | function Matcher() function CombinedMatcher (line 629) | function CombinedMatcher() function convertAddress (line 799) | function convertAddress(ipchars) { function check_ipv4 (line 808) | function check_ipv4(host) { function check_ipv6 (line 814) | function check_ipv6(host) { function check_ipv6_dns (line 820) | function check_ipv6_dns(dnsstr) { function isInSubnetRange (line 826) | function isInSubnetRange(ipRange, intIp) { function getProxyFromIP (line 832) | function getProxyFromIP(strIp) { function FindProxyForURL (line 840) | function FindProxyForURL(url, host) { FILE: shadowsocks-csharp/Encryption/CircularBuffer/ByteCircularBuffer.cs class ByteCircularBuffer (line 46) | public class ByteCircularBuffer method ByteCircularBuffer (line 69) | public ByteCircularBuffer(int capacity) method Clear (line 157) | public void Clear() method Contains (line 170) | public bool Contains(byte item) method CopyTo (line 197) | public void CopyTo(byte[] array) method CopyTo (line 207) | public void CopyTo(byte[] array, int arrayIndex) method CopyTo (line 219) | public virtual void CopyTo(int index, byte[] array, int arrayIndex, in... method Get (line 245) | public byte[] Get(int count) method Get (line 264) | public int Get(byte[] array) method Get (line 281) | public virtual int Get(byte[] array, int arrayIndex, int count) method Get (line 320) | public virtual byte Get() method Peek (line 342) | public virtual byte Peek() method Peek (line 360) | public virtual byte[] Peek(int count) method PeekLast (line 378) | public virtual byte PeekLast() method Put (line 407) | public int Put(byte[] array) method Put (line 420) | public virtual int Put(byte[] array, int arrayIndex, int count) method Put (line 456) | public virtual void Put(byte item) method Skip (line 490) | public void Skip(int count) method ToArray (line 511) | public byte[] ToArray() FILE: shadowsocks-csharp/Encryption/CryptoUtils.cs class CryptoUtils (line 10) | public static class CryptoUtils method SsAes128 (line 12) | public static void SsAes128(string password, ReadOnlySpan source... method MD5 (line 27) | public static byte[] MD5(ReadOnlySpan input) method SHA1 (line 35) | public static byte[] SHA1(ReadOnlySpan input) FILE: shadowsocks-csharp/Encryption/EncryptorBase.cs class EncryptorBase (line 3) | public abstract class EncryptorBase : IEncryptor method EncryptorBase (line 16) | protected EncryptorBase(string method, string password) method Encrypt (line 25) | public abstract void Encrypt(byte[] buf, int length, byte[] outbuf, ou... method Decrypt (line 27) | public abstract void Decrypt(byte[] buf, int length, byte[] outbuf, ou... method ResetEncrypt (line 29) | public abstract void ResetEncrypt(); method ResetDecrypt (line 30) | public abstract void ResetDecrypt(); method Dispose (line 32) | public abstract void Dispose(); method getIV (line 33) | public abstract byte[] getIV(); method getKey (line 34) | public abstract byte[] getKey(); method getInfo (line 35) | public abstract EncryptorInfo getInfo(); FILE: shadowsocks-csharp/Encryption/EncryptorFactory.cs class EncryptorFactory (line 9) | public static class EncryptorFactory method EncryptorFactory (line 15) | static EncryptorFactory() method GetEncryptor (line 43) | public static IEncryptor GetEncryptor(string method, string password) method GetEncryptorInfo (line 60) | public static EncryptorInfo GetEncryptorInfo(string method) FILE: shadowsocks-csharp/Encryption/EncryptorInfo.cs class EncryptorInfo (line 3) | public class EncryptorInfo method EncryptorInfo (line 11) | public EncryptorInfo(int key, int iv, int type, string innerLibName = ... FILE: shadowsocks-csharp/Encryption/Exception/CryptoException.cs class CryptoErrorException (line 3) | public class CryptoErrorException : System.Exception method CryptoErrorException (line 5) | public CryptoErrorException() method CryptoErrorException (line 9) | public CryptoErrorException(string msg) : base(msg) method CryptoErrorException (line 13) | public CryptoErrorException(string message, System.Exception innerExce... FILE: shadowsocks-csharp/Encryption/IEncryptor.cs type IEncryptor (line 5) | public interface IEncryptor : IDisposable method Encrypt (line 7) | void Encrypt(byte[] buf, int length, byte[] outbuf, out int outlength); method Decrypt (line 8) | void Decrypt(byte[] buf, int length, byte[] outbuf, out int outlength); method ResetEncrypt (line 9) | void ResetEncrypt(); method ResetDecrypt (line 10) | void ResetDecrypt(); method getIV (line 11) | byte[] getIV(); method getKey (line 12) | byte[] getKey(); method getInfo (line 13) | EncryptorInfo getInfo(); FILE: shadowsocks-csharp/Encryption/OpenSSL.cs class OpenSSL (line 12) | public static class OpenSSL method OpenSSL (line 19) | static OpenSSL() method GetCipherInfo (line 36) | public static IntPtr GetCipherInfo(string cipherName) method LoadLibrary (line 43) | [DllImport(@"Kernel32.dll")] method EVP_get_cipherbyname (line 46) | [SuppressUnmanagedCodeSecurity] method EVP_CIPHER_CTX_new (line 50) | [SuppressUnmanagedCodeSecurity] method EVP_CIPHER_CTX_free (line 54) | [SuppressUnmanagedCodeSecurity] method EVP_CipherInit_ex (line 58) | [SuppressUnmanagedCodeSecurity] method EVP_CipherUpdate (line 62) | [SuppressUnmanagedCodeSecurity] method EVP_CIPHER_CTX_set_padding (line 66) | [SuppressUnmanagedCodeSecurity] method EVP_CIPHER_CTX_set_key_length (line 70) | [SuppressUnmanagedCodeSecurity] FILE: shadowsocks-csharp/Encryption/Sodium.cs class Sodium (line 10) | public static class Sodium method Sodium (line 17) | static Sodium() method LoadLibrary (line 47) | [DllImport(@"Kernel32.dll")] method sodium_init (line 50) | [DllImport(DLLNAME, CallingConvention = CallingConvention.Cdecl)] method crypto_stream_salsa20_xor_ic (line 55) | [DllImport(DLLNAME, CallingConvention = CallingConvention.Cdecl)] method crypto_stream_xsalsa20_xor_ic (line 58) | [DllImport(DLLNAME, CallingConvention = CallingConvention.Cdecl)] method crypto_stream_chacha20_xor_ic (line 61) | [DllImport(DLLNAME, CallingConvention = CallingConvention.Cdecl)] method crypto_stream_xchacha20_xor_ic (line 64) | [DllImport(DLLNAME, CallingConvention = CallingConvention.Cdecl)] method crypto_stream_chacha20_ietf_xor_ic (line 67) | [DllImport(DLLNAME, CallingConvention = CallingConvention.Cdecl)] FILE: shadowsocks-csharp/Encryption/Stream/NoneEncryptor.cs class NoneEncryptor (line 6) | public sealed class NoneEncryptor : StreamEncryptor method NoneEncryptor (line 8) | public NoneEncryptor(string method, string password) : base(method, pa... method SupportedCiphers (line 16) | public static List SupportedCiphers() method getCiphers (line 21) | protected override Dictionary getCiphers() method CipherUpdate (line 26) | protected override void CipherUpdate(bool isCipher, int length, byte[]... method Dispose (line 40) | public override void Dispose() method Dispose (line 51) | private void Dispose(bool disposing) FILE: shadowsocks-csharp/Encryption/Stream/StreamEncryptor.cs class StreamEncryptor (line 10) | public abstract class StreamEncryptor : EncryptorBase method StreamEncryptor (line 36) | protected StreamEncryptor(string method, string password) : base(metho... method getCiphers (line 42) | protected abstract Dictionary getCiphers(); method SetIV (line 44) | public bool SetIV(byte[] iv) method getIV (line 55) | public override byte[] getIV() method getKey (line 59) | public override byte[] getKey() method getInfo (line 65) | public override EncryptorInfo getInfo() method InitEncryptorInfo (line 70) | private void InitEncryptorInfo(string method) method InitKey (line 87) | private void InitKey(string password) method InitCipher (line 97) | protected virtual void InitCipher(byte[] iv, bool isCipher) method CipherUpdate (line 111) | protected abstract void CipherUpdate(bool isCipher, int length, byte[]... method Encrypt (line 113) | public override void Encrypt(byte[] buf, int length, byte[] outbuf, ou... method Decrypt (line 139) | public override void Decrypt(byte[] buf, int length, byte[] outbuf, ou... method ResetEncrypt (line 163) | public override void ResetEncrypt() method ResetDecrypt (line 169) | public override void ResetDecrypt() FILE: shadowsocks-csharp/Encryption/Stream/StreamOpenSSLEncryptor.cs class StreamOpenSSLEncryptor (line 8) | public sealed class StreamOpenSSLEncryptor : StreamEncryptor method StreamOpenSSLEncryptor (line 18) | public StreamOpenSSLEncryptor(string method, string password) : base(m... method SupportedCiphers (line 51) | public static List SupportedCiphers() method getCiphers (line 56) | protected override Dictionary getCiphers() method InitCipher (line 61) | protected override void InitCipher(byte[] iv, bool isEncrypt) method CipherUpdate (line 120) | protected override void CipherUpdate(bool isCipher, int length, byte[]... method Dispose (line 142) | public override void Dispose() method Dispose (line 153) | private void Dispose(bool disposing) FILE: shadowsocks-csharp/Encryption/Stream/StreamSodiumEncryptor.cs class StreamSodiumEncryptor (line 7) | public class StreamSodiumEncryptor : StreamEncryptor method StreamSodiumEncryptor (line 27) | public StreamSodiumEncryptor(string method, string password) : base(me... method getCiphers (line 51) | protected override Dictionary getCiphers() method SupportedCiphers (line 56) | public static List SupportedCiphers() method CipherUpdate (line 61) | protected override void CipherUpdate(bool isCipher, int length, byte[]... method ResetEncrypt (line 106) | public override void ResetEncrypt() method ResetDecrypt (line 113) | public override void ResetDecrypt() method crypto_stream_chacha20_ietf_xor_ic (line 120) | private int crypto_stream_chacha20_ietf_xor_ic(byte[] c, byte[] m, ulo... method Dispose (line 125) | public override void Dispose() FILE: shadowsocks-csharp/Enums/BalanceType.cs type BalanceType (line 3) | public enum BalanceType FILE: shadowsocks-csharp/Enums/DnsType.cs type DnsType (line 3) | public enum DnsType FILE: shadowsocks-csharp/Enums/HttpRequestProxyType.cs type HttpRequestProxyType (line 3) | public enum HttpRequestProxyType FILE: shadowsocks-csharp/Enums/LogLevel.cs type LogLevel (line 3) | public enum LogLevel FILE: shadowsocks-csharp/Enums/PacType.cs type PacType (line 3) | public enum PacType FILE: shadowsocks-csharp/Enums/PortMapType.cs type PortMapType (line 3) | public enum PortMapType FILE: shadowsocks-csharp/Enums/ProxyMode.cs type ProxyMode (line 3) | public enum ProxyMode FILE: shadowsocks-csharp/Enums/ProxyRuleMode.cs type ProxyRuleMode (line 3) | public enum ProxyRuleMode FILE: shadowsocks-csharp/Enums/ProxyType.cs type ProxyType (line 3) | public enum ProxyType FILE: shadowsocks-csharp/Enums/ServerTreeViewType.cs type ServerTreeViewType (line 3) | public enum ServerTreeViewType FILE: shadowsocks-csharp/Model/Configuration.cs class Configuration (line 11) | [Serializable] method KeepCurrentServer (line 228) | public bool KeepCurrentServer(int port, string targetAddr, string id) method GetCurrentServer (line 262) | public Server GetCurrentServer(int port, ServerSelectStrategy.FilterFu... method FlushPortMapCache (line 376) | public void FlushPortMapCache() method Configuration (line 447) | public Configuration() method CopyFrom (line 490) | public void CopyFrom(Configuration config) method FixConfiguration (line 526) | public void FixConfiguration() method IsDefaultConfig (line 562) | public bool IsDefaultConfig() method GetErrorServer (line 567) | private static Server GetErrorServer() method IsPort (line 573) | private static bool IsPort(int port) FILE: shadowsocks-csharp/Model/ConfigurationException.cs class ConfigurationException (line 5) | [Serializable] method ConfigurationException (line 8) | public ConfigurationException() method ConfigurationException (line 10) | public ConfigurationException(string message) : base(message) { } method ConfigurationException (line 11) | public ConfigurationException(string message, Exception inner) : base(... method ConfigurationException (line 12) | protected ConfigurationException(System.Runtime.Serialization.Serializ... FILE: shadowsocks-csharp/Model/Connections.cs class Connections (line 6) | public class Connections method AddRef (line 9) | public bool AddRef(IHandler socket) method DecRef (line 24) | public bool DecRef(IHandler socket) method CloseAll (line 43) | public void CloseAll() FILE: shadowsocks-csharp/Model/DnsBuffer.cs class DnsBuffer (line 6) | public class DnsBuffer method IsExpired (line 13) | public bool IsExpired(string host) method UpdateDns (line 28) | public void UpdateDns(string host, IPAddress ip) FILE: shadowsocks-csharp/Model/DnsClient.cs class DnsClient (line 18) | [Serializable] method DnsClient (line 139) | [JsonConstructor] method DnsClient (line 158) | public DnsClient(DnsType type) : this() method IsIp (line 182) | private static bool IsIp(string? str) method IsValidDns (line 187) | private bool IsValidDns(string? dns) method QueryBaseAAsync (line 192) | private static async Task QueryBaseAAsync(ARSoft.Tools.Net... method QueryBaseAaaaAsync (line 206) | private static async Task QueryBaseAaaaAsync(ARSoft.Tools.... method QueryBaseAsync (line 220) | private static async Task QueryBaseAsync(ARSoft.Tools.Net.... method QueryBaseTlsAAsync (line 234) | private static async Task QueryBaseTlsAAsync(DnsOverTlsCli... method QueryBaseTlsAaaaAsync (line 248) | private static async Task QueryBaseTlsAaaaAsync(DnsOverTls... method QueryBaseTlsAsync (line 262) | private static async Task QueryBaseTlsAsync(DnsOverTlsClie... method QueryIpAddressDefaultAsync (line 278) | public static async Task QueryIpAddressDefaultAsync(string... method QueryIpAddressAsync (line 296) | public async Task QueryIpAddressAsync(string host, Cancell... FILE: shadowsocks-csharp/Model/ErrorLog.cs class ErrorLog (line 5) | public class ErrorLog method ErrorLog (line 9) | public ErrorLog(int no) FILE: shadowsocks-csharp/Model/Global.cs class Global (line 13) | public static class Global method LoadFile (line 37) | public static Configuration LoadFile(string filename) method Load (line 62) | public static Configuration Load() method Load (line 67) | private static Configuration Load(string configStr) method LoadConfig (line 85) | public static void LoadConfig() method SaveConfig (line 90) | public static void SaveConfig() FILE: shadowsocks-csharp/Model/HostNode.cs class HostNode (line 5) | internal class HostNode method HostNode (line 11) | public HostNode() method HostNode (line 18) | public HostNode(bool sub, string addr) FILE: shadowsocks-csharp/Model/IPRangeSet.cs class IPRangeSet (line 17) | public class IPRangeSet method IPRangeSet (line 24) | public IPRangeSet() method Reset (line 29) | [MemberNotNull(nameof(_ipMatcher))] method IsInIPRange (line 35) | public bool IsInIPRange(IPAddress ip) method LoadChn (line 45) | private bool LoadChn(IEnumerable lines) method LoadChn (line 76) | public void LoadChn() FILE: shadowsocks-csharp/Model/IPSegment.cs class IPAddressCmp (line 7) | public class IPAddressCmp : IPAddress, IComparable method IPAddressCmp (line 9) | public IPAddressCmp(IPAddress ip) : base(ip.GetAddressBytes()) method IPAddressCmp (line 13) | public IPAddressCmp(byte[] ip) : base(ip) method IPAddressCmp (line 17) | public IPAddressCmp(string ip) : base(FromString(ip).GetAddressBytes()) method FromString (line 21) | public static IPAddress FromString(string ip) method CompareTo (line 27) | public int CompareTo(object obj) method ToIPv6 (line 56) | public IPAddressCmp ToIPv6() method Inc (line 69) | public IPAddressCmp Inc() class IPSegment (line 93) | public class IPSegment method IPSegment (line 97) | public IPSegment(object val = null) method insert (line 102) | public bool insert(IPAddressCmp ipStart, IPAddressCmp ipEnd, object val) method Get (line 184) | public object Get(IPAddressCmp ip) FILE: shadowsocks-csharp/Model/LRUCache.cs class LRUCache (line 7) | public class LRUCache method LRUCache (line 15) | public LRUCache(int sweep_time = 60 * 60) method SetTimeout (line 20) | public void SetTimeout(int time) method Clear (line 25) | public void Clear() method isTimeout (line 35) | public bool isTimeout(K key) method ContainsKey (line 47) | public bool ContainsKey(K key) method Get (line 55) | public V Get(K key) method Set (line 77) | public V Set(K key, V val) method Del (line 100) | public void Del(K key) method Sweep (line 115) | public void Sweep() FILE: shadowsocks-csharp/Model/MinSearchTree.cs type MinSearchTreeNode (line 6) | public struct MinSearchTreeNode class MinSearchTree (line 14) | public class MinSearchTree method MinSearchTree (line 21) | public MinSearchTree(int size) method GetLevel (line 31) | protected int GetLevel(int size) method _Init (line 46) | protected void _Init(int index, int level, int range_min, int range_max) method Init (line 61) | public void Init() method Clone (line 75) | public MinSearchTree Clone() method Update (line 85) | public void Update(int[] add_list) method Update (line 99) | public void Update(Dictionary add_map) method Maintain (line 117) | protected void Maintain(int index) method Update (line 145) | public void Update(int index, int add = 1) method FindMinCount (line 152) | public int FindMinCount(int index, int range_min, int range_max, out l... method FindNthMin (line 193) | public int FindNthMin(int index, int range_min, int range_max, int nth... method FindMinCount2 (line 225) | public int FindMinCount2(int index, int range_min, int range_max, out ... method FindNthMin2 (line 248) | public int FindNthMin2(int range_min, int range_max, int nth) method RandomFindIndex (line 275) | public int RandomFindIndex(int range_min, int range_max, Random random) method GetMin (line 283) | public long GetMin(int range_min, int range_max) FILE: shadowsocks-csharp/Model/PortMapConfig.cs class PortMapConfig (line 7) | [Serializable] FILE: shadowsocks-csharp/Model/PortMapConfigCache.cs class PortMapConfigCache (line 5) | public class PortMapConfigCache FILE: shadowsocks-csharp/Model/Rule.cs type Rule (line 3) | public enum Rule : byte FILE: shadowsocks-csharp/Model/Server.cs class Server (line 12) | [Serializable] method CopyServer (line 319) | public void CopyServer(Server oldServer) method Clone (line 329) | public object Clone() method Clone (line 351) | public static Server Clone(Server serverObject) method Server (line 370) | public Server() method Server (line 391) | public Server(string ssUrl, string forceGroup) : this() method ParseParam (line 407) | private static Dictionary ParseParam(string paramStr) method ServerFromSsr (line 424) | public void ServerFromSsr(string ssrUrl, string forceGroup) method ServerFromSs (line 492) | private void ServerFromSs(string ssUrl, string forceGroup) method IsMatchServer (line 515) | public bool IsMatchServer(Server serverObject) method SetField (line 533) | protected override bool SetField(ref T field, T value, string prope... FILE: shadowsocks-csharp/Model/ServerSelectStrategy.cs class ServerSelectStrategy (line 8) | public class ServerSelectStrategy type ServerIndex (line 21) | private struct ServerIndex method ServerIndex (line 25) | public ServerIndex(int i, Server s) method lowerBound (line 31) | private int lowerBound(List data, double target) method Algorithm2 (line 50) | private double Algorithm2(ServerSpeedLog serverSpeedLog) // perfer les... method Algorithm3 (line 94) | private double Algorithm3(ServerSpeedLog serverSpeedLog) // perfer les... method Algorithm4 (line 138) | private double Algorithm4(ServerSpeedLog serverSpeedLog, long avg_spee... method SubSelect (line 186) | protected int SubSelect(IList configs, int curIndex, BalanceTy... method Select (line 422) | public int Select(IList configs, int curIndex, BalanceType alg... FILE: shadowsocks-csharp/Model/ServerSubscribe.cs class ServerSubscribe (line 11) | [Serializable] method ServerSubscribe (line 20) | public ServerSubscribe() FILE: shadowsocks-csharp/Model/ServerTreeViewModel.cs class ServerTreeViewModel (line 11) | public class ServerTreeViewModel : ViewModelBase method ServerTreeViewModel (line 13) | public ServerTreeViewModel() method Server_ServerChanged (line 82) | private void Server_ServerChanged(object sender, EventArgs e) method Remove (line 89) | public static void Remove(ObservableCollection ro... method FindParentNode (line 102) | public static ServerTreeViewModel FindParentNode(Collection transLog, int bytes... method AddUploadBytes (line 514) | public void AddUploadBytes(int bytes, DateTime now, bool updateMaxTrans) method AddDownloadBytes (line 530) | public void AddDownloadBytes(int bytes, DateTime now, bool updateMaxTr... method AddDownloadRawBytes (line 546) | public void AddDownloadRawBytes(long bytes) method ResetErrorDecodeTimes (line 553) | public void ResetErrorDecodeTimes() method ResetContinuousTimes (line 566) | public void ResetContinuousTimes() method ResetEmptyTimes (line 575) | public void ResetEmptyTimes() method ResetConnectTime (line 581) | public void ResetConnectTime() method AddConnectTime (line 587) | public void AddConnectTime(long millisecond) FILE: shadowsocks-csharp/Model/Transfer/ServerTrans.cs class ServerTrans (line 5) | [Serializable] FILE: shadowsocks-csharp/Model/Transfer/ServerTransferTotal.cs class ServerTransferTotal (line 10) | [Serializable] method Load (line 22) | public static ServerTransferTotal Load() method Init (line 52) | private void Init() method Save (line 62) | public static void Save(ServerTransferTotal config, List serve... method Clear (line 81) | public void Clear(string serverId) method AddUpload (line 93) | public void AddUpload(string serverId, long size) method AddDownload (line 120) | public void AddDownload(string server, long size) FILE: shadowsocks-csharp/Model/Transfer/TransLog.cs class TransLog (line 5) | public class TransLog method TransLog (line 12) | public TransLog(int s, DateTime t) FILE: shadowsocks-csharp/Model/UriVisitTime.cs class UriVisitTime (line 5) | public class UriVisitTime : IComparable method CompareTo (line 11) | public int CompareTo(object other) FILE: shadowsocks-csharp/Model/WindowStatus.cs class WindowStatus (line 6) | public class WindowStatus method WindowStatus (line 14) | public WindowStatus() method WindowStatus (line 23) | public WindowStatus(Window window) method SetStatus (line 32) | public void SetStatus(Window window) FILE: shadowsocks-csharp/Obfs/AuthAES128SHA1.cs class AuthDataAes128 (line 18) | protected class AuthDataAes128 : AuthData method AuthAES128SHA1 (line 23) | public AuthAES128SHA1(string method) method SupportedObfs (line 68) | public static List SupportedObfs() method GetObfs (line 73) | public override Dictionary GetObfs() method InitData (line 78) | public override object InitData() method isKeepAlive (line 83) | public override bool isKeepAlive() method isAlwaysSendback (line 88) | public override bool isAlwaysSendback() method GetOverhead (line 93) | public override int GetOverhead() method CreateHMAC (line 98) | protected IMac CreateHMAC(byte[] key) method Sync (line 108) | protected void Sync() method RandomInMin (line 126) | protected int RandomInMin(int dataLengthMin, int dataLengthMax) method AddPacket (line 136) | protected void AddPacket(int length) method StatisticsInit (line 166) | protected void StatisticsInit(AuthDataAes128 authData) method GetRandLen (line 179) | protected int GetRandLen(int datalength, int fulldatalength, bool nopadd... method GenRandLenFull (line 203) | protected int GenRandLenFull(int packetlength, int fulldatalength, bool ... method GenRandLen (line 221) | protected int GenRandLen(int packetlength, int maxpacketlength) method PackData (line 227) | public void PackData(byte[] data, int datalength, int fulldatalength, by... method PackAuthData (line 279) | public void PackAuthData(byte[] data, int datalength, byte[] outdata, ou... FILE: shadowsocks-csharp/Obfs/AuthAkarin.cs class AuthAkarin (line 14) | internal class AuthAkarin : VerifySimpleBase class AuthDataAesChain (line 16) | protected class AuthDataAesChain : AuthData method AuthAkarin (line 20) | public AuthAkarin(string method) method SupportedObfs (line 57) | public static List SupportedObfs() method GetObfs (line 62) | public override Dictionary GetObfs() method Disposing (line 67) | protected override void Disposing() method InitData (line 76) | public override object InitData() method isKeepAlive (line 81) | public override bool isKeepAlive() method isAlwaysSendback (line 86) | public override bool isAlwaysSendback() method GetOverhead (line 91) | public override int GetOverhead() method CreateHMAC (line 96) | protected IMac CreateHMAC(byte[] key) method GetSendRandLen (line 101) | protected virtual int GetSendRandLen(int datalength, xorshift128plus r... method GetRecvRandLen (line 133) | protected virtual int GetRecvRandLen(int datalength, xorshift128plus r... method UdpGetRandLen (line 165) | protected int UdpGetRandLen(xorshift128plus rd, byte[] last_hash) method GetSendRandLen (line 171) | protected int GetSendRandLen(int datalength) method PackData (line 176) | public void PackData(byte[] data, int datalength, byte[] outdata, out ... method PackAuthData (line 235) | public void PackAuthData(byte[] data, int datalength, byte[] outdata, ... method ClientPreEncrypt (line 355) | public override byte[] ClientPreEncrypt(byte[] plaindata, int dataleng... method ClientPostDecrypt (line 448) | public override byte[] ClientPostDecrypt(byte[] plaindata, int datalen... method ClientUdpPreEncrypt (line 512) | public override byte[] ClientUdpPreEncrypt(byte[] plaindata, int datal... method ClientUdpPostDecrypt (line 574) | public override byte[] ClientUdpPostDecrypt(byte[] plaindata, int data... FILE: shadowsocks-csharp/Obfs/AuthAkarin_spec_a.cs class AuthAkarin_spec_a (line 5) | class AuthAkarin_spec_a : AuthAkarin method AuthAkarin_spec_a (line 7) | public AuthAkarin_spec_a(string method) method SupportedObfs (line 21) | public static new List SupportedObfs() method GetObfs (line 26) | public override Dictionary GetObfs() method InitDataSizeList (line 31) | protected void InitDataSizeList() method SetServerInfo (line 54) | public override void SetServerInfo(ServerInfo serverInfo) method FindPos (line 60) | protected int FindPos(int[] arr, int key) method GetSendRandLen (line 85) | protected override int GetSendRandLen(int datalength, xorshift128plus ... method GetRecvRandLen (line 134) | protected override int GetRecvRandLen(int datalength, xorshift128plus ... FILE: shadowsocks-csharp/Obfs/AuthChain_a.cs class AuthChain_a (line 13) | class AuthChain_a : VerifySimpleBase class AuthDataAesChain (line 15) | protected class AuthDataAesChain : AuthData method AuthChain_a (line 19) | public AuthChain_a(string method) method SupportedObfs (line 53) | public static List SupportedObfs() method GetObfs (line 58) | public override Dictionary GetObfs() method Disposing (line 63) | protected override void Disposing() method InitData (line 72) | public override object InitData() method isKeepAlive (line 77) | public override bool isKeepAlive() method isAlwaysSendback (line 82) | public override bool isAlwaysSendback() method GetOverhead (line 87) | public override int GetOverhead() method CreateHMAC (line 92) | protected IMac CreateHMAC(byte[] key) method GetRandLen (line 97) | protected virtual int GetRandLen(int datalength, xorshift128plus rd, b... method UdpGetRandLen (line 123) | protected int UdpGetRandLen(xorshift128plus rd, byte[] last_hash) method GetRandStartPos (line 129) | protected int GetRandStartPos(int rand_len, xorshift128plus rd) method GetRandLen (line 139) | protected int GetRandLen(int datalength) method PackData (line 144) | public void PackData(byte[] data, int datalength, byte[] outdata, out ... method OnInitAuthData (line 190) | public virtual void OnInitAuthData(ulong unixTimestamp) method PackAuthData (line 195) | public void PackAuthData(byte[] data, int datalength, byte[] outdata, ... method ClientPreEncrypt (line 304) | public override byte[] ClientPreEncrypt(byte[] plaindata, int dataleng... method ClientPostDecrypt (line 397) | public override byte[] ClientPostDecrypt(byte[] plaindata, int datalen... method ClientUdpPreEncrypt (line 468) | public override byte[] ClientUdpPreEncrypt(byte[] plaindata, int datal... method ClientUdpPostDecrypt (line 525) | public override byte[] ClientUdpPostDecrypt(byte[] plaindata, int data... FILE: shadowsocks-csharp/Obfs/AuthChain_b.cs class AuthChain_b (line 5) | class AuthChain_b : AuthChain_a method AuthChain_b (line 7) | public AuthChain_b(string method) method SupportedObfs (line 21) | public static new List SupportedObfs() method GetObfs (line 26) | public override Dictionary GetObfs() method InitDataSizeList (line 31) | protected virtual void InitDataSizeList() method SetServerInfo (line 54) | public override void SetServerInfo(ServerInfo serverInfo) method FindPos (line 60) | protected int FindPos(int[] arr, int key) method GetRandLen (line 85) | protected override int GetRandLen(int datalength, xorshift128plus rd, ... FILE: shadowsocks-csharp/Obfs/AuthChain_c.cs class AuthChain_c (line 5) | class AuthChain_c : AuthChain_b method AuthChain_c (line 7) | public AuthChain_c(string method) method SupportedObfs (line 20) | public static new List SupportedObfs() method GetObfs (line 25) | public override Dictionary GetObfs() method InitDataSizeList (line 30) | protected override void InitDataSizeList() method SetServerInfo (line 44) | public override void SetServerInfo(ServerInfo serverInfo) method GetRandLen (line 50) | protected override int GetRandLen(int datalength, xorshift128plus rd, ... FILE: shadowsocks-csharp/Obfs/AuthChain_d.cs class AuthChain_d (line 5) | class AuthChain_d : AuthChain_c method AuthChain_d (line 7) | public AuthChain_d(string method) method SupportedObfs (line 18) | public static new List SupportedObfs() method GetObfs (line 23) | public override Dictionary GetObfs() method CheckAndPatchDataSize (line 28) | protected void CheckAndPatchDataSize(List data_list, xorshift128p... method InitDataSizeList (line 37) | protected override void InitDataSizeList() method SetServerInfo (line 57) | public override void SetServerInfo(ServerInfo serverInfo) method GetRandLen (line 63) | protected override int GetRandLen(int datalength, xorshift128plus rd, ... FILE: shadowsocks-csharp/Obfs/AuthChain_e.cs class AuthChain_e (line 5) | class AuthChain_e : AuthChain_d method AuthChain_e (line 7) | public AuthChain_e(string method) method SupportedObfs (line 18) | public static new List SupportedObfs() method GetObfs (line 23) | public override Dictionary GetObfs() method GetRandLen (line 28) | protected override int GetRandLen(int datalength, xorshift128plus rd, ... FILE: shadowsocks-csharp/Obfs/AuthChain_f.cs class AuthChain_f (line 6) | class AuthChain_f : AuthChain_e method AuthChain_f (line 8) | public AuthChain_f(string method) method SupportedObfs (line 19) | public static new List SupportedObfs() method GetObfs (line 24) | public override Dictionary GetObfs() method InitDataSizeList (line 33) | protected override void InitDataSizeList() method SetServerInfo (line 59) | public override void SetServerInfo(ServerInfo serverInfo) method OnInitAuthData (line 77) | public override void OnInitAuthData(ulong unixTimestamp) FILE: shadowsocks-csharp/Obfs/AuthData.cs class AuthData (line 3) | public class AuthData : VerifyData FILE: shadowsocks-csharp/Obfs/AuthSHA1.cs class AuthSHA1 (line 9) | public class AuthSHA1 : VerifySimpleBase method AuthSHA1 (line 11) | public AuthSHA1(string method) method SupportedObfs (line 25) | public static List SupportedObfs() method GetObfs (line 30) | public override Dictionary GetObfs() method InitData (line 35) | public override object InitData() method PackData (line 40) | public void PackData(byte[] data, int datalength, byte[] outdata, out ... method PackAuthData (line 56) | public void PackAuthData(byte[] data, int datalength, byte[] outdata, ... method ClientPreEncrypt (line 101) | public override byte[] ClientPreEncrypt(byte[] plaindata, int dataleng... method ClientPostDecrypt (line 148) | public override byte[] ClientPostDecrypt(byte[] plaindata, int datalen... FILE: shadowsocks-csharp/Obfs/AuthSHA1V2.cs class AuthSHA1V2 (line 9) | public class AuthSHA1V2 : VerifySimpleBase method AuthSHA1V2 (line 11) | public AuthSHA1V2(string method) method SupportedObfs (line 25) | public static List SupportedObfs() method GetObfs (line 30) | public override Dictionary GetObfs() method InitData (line 35) | public override object InitData() method isKeepAlive (line 40) | public override bool isKeepAlive() method isAlwaysSendback (line 45) | public override bool isAlwaysSendback() method PackData (line 50) | public void PackData(byte[] data, int datalength, byte[] outdata, out ... method PackAuthData (line 80) | public void PackAuthData(byte[] data, int datalength, byte[] outdata, ... method ClientPreEncrypt (line 140) | public override byte[] ClientPreEncrypt(byte[] plaindata, int dataleng... method ClientPostDecrypt (line 193) | public override byte[] ClientPostDecrypt(byte[] plaindata, int datalen... FILE: shadowsocks-csharp/Obfs/AuthSHA1V4.cs class AuthSHA1V4 (line 9) | public class AuthSHA1V4 : VerifySimpleBase method AuthSHA1V4 (line 11) | public AuthSHA1V4(string method) method SupportedObfs (line 27) | public static List SupportedObfs() method GetObfs (line 32) | public override Dictionary GetObfs() method InitData (line 37) | public override object InitData() method isKeepAlive (line 42) | public override bool isKeepAlive() method isAlwaysSendback (line 47) | public override bool isAlwaysSendback() method GetOverhead (line 52) | public override int GetOverhead() method PackData (line 57) | public void PackData(byte[] data, int datalength, byte[] outdata, out ... method PackAuthData (line 89) | public void PackAuthData(byte[] data, int datalength, byte[] outdata, ... method ClientPreEncrypt (line 154) | public override byte[] ClientPreEncrypt(byte[] plaindata, int dataleng... method ClientPostDecrypt (line 207) | public override byte[] ClientPostDecrypt(byte[] plaindata, int datalen... FILE: shadowsocks-csharp/Obfs/HttpSimpleObfs.cs class HttpSimpleObfs (line 6) | class HttpSimpleObfs : ObfsBase method HttpSimpleObfs (line 8) | public HttpSimpleObfs(string method) method SupportedObfs (line 56) | public static List SupportedObfs() method GetObfs (line 61) | public override Dictionary GetObfs() method data2urlencode (line 66) | private string data2urlencode(byte[] encryptdata, int datalength) method boundary (line 76) | private string boundary() method ClientEncode (line 87) | public override byte[] ClientEncode(byte[] encryptdata, int datalength... method FindSubArray (line 205) | private int FindSubArray(byte[] array, int length, byte[] subArray) method ClientDecode (line 225) | public override byte[] ClientDecode(byte[] encryptdata, int datalength... FILE: shadowsocks-csharp/Obfs/IObfs.cs type IObfs (line 5) | public interface IObfs : IDisposable method Name (line 7) | string Name(); method isKeepAlive (line 8) | bool isKeepAlive(); method isAlwaysSendback (line 9) | bool isAlwaysSendback(); method ClientPreEncrypt (line 10) | byte[] ClientPreEncrypt(byte[] plaindata, int datalength, out int outl... method ClientEncode (line 11) | byte[] ClientEncode(byte[] encryptdata, int datalength, out int outlen... method ClientDecode (line 12) | byte[] ClientDecode(byte[] encryptdata, int datalength, out int outlen... method ClientPostDecrypt (line 13) | byte[] ClientPostDecrypt(byte[] plaindata, int datalength, out int out... method ClientUdpPreEncrypt (line 14) | byte[] ClientUdpPreEncrypt(byte[] plaindata, int datalength, out int o... method ClientUdpPostDecrypt (line 15) | byte[] ClientUdpPostDecrypt(byte[] plaindata, int datalength, out int ... method InitData (line 16) | object InitData(); method SetServerInfo (line 17) | void SetServerInfo(ServerInfo serverInfo); method SetServerInfoIV (line 18) | void SetServerInfoIV(byte[] iv); method GetSentLength (line 19) | long GetSentLength(); method GetOverhead (line 20) | int GetOverhead(); method GetTcpMSS (line 21) | int GetTcpMSS(); FILE: shadowsocks-csharp/Obfs/ObfsBase.cs class ObfsBase (line 7) | public abstract class ObfsBase : IObfs method ObfsBase (line 9) | protected ObfsBase(string method) method GetObfs (line 18) | public abstract Dictionary GetObfs(); method Name (line 20) | public string Name() method isKeepAlive (line 25) | public virtual bool isKeepAlive() method isAlwaysSendback (line 30) | public virtual bool isAlwaysSendback() method ClientPreEncrypt (line 36) | public virtual byte[] ClientPreEncrypt(byte[] plaindata, int datalengt... method ClientEncode (line 41) | public abstract byte[] ClientEncode(byte[] encryptdata, int datalength... method ClientDecode (line 42) | public abstract byte[] ClientDecode(byte[] encryptdata, int datalength... method ClientPostDecrypt (line 43) | public virtual byte[] ClientPostDecrypt(byte[] plaindata, int dataleng... method ClientUdpPreEncrypt (line 48) | public virtual byte[] ClientUdpPreEncrypt(byte[] plaindata, int datale... method ClientUdpPostDecrypt (line 53) | public virtual byte[] ClientUdpPostDecrypt(byte[] plaindata, int datal... method InitData (line 59) | public virtual object InitData() method SetServerInfo (line 63) | public virtual void SetServerInfo(ServerInfo serverInfo) method SetServerInfoIV (line 67) | public virtual void SetServerInfoIV(byte[] iv) method GetHeadSize (line 71) | public static int GetHeadSize(byte[] plaindata, int defaultValue) method GetSentLength (line 101) | public long GetSentLength() method GetOverhead (line 105) | public virtual int GetOverhead() method GetTcpMSS (line 110) | public int GetTcpMSS() method Dispose (line 119) | public void Dispose() method Dispose (line 125) | protected virtual void Dispose(bool disposing) method Disposing (line 138) | protected virtual void Disposing() FILE: shadowsocks-csharp/Obfs/ObfsException.cs class ObfsException (line 5) | public class ObfsException : Exception method ObfsException (line 7) | public ObfsException(string info) FILE: shadowsocks-csharp/Obfs/ObfsFactory.cs class ObfsFactory (line 6) | public static class ObfsFactory method ObfsFactory (line 12) | static ObfsFactory() method GetObfs (line 83) | public static IObfs GetObfs(string method) FILE: shadowsocks-csharp/Obfs/Plain.cs class Plain (line 5) | public class Plain : ObfsBase method Plain (line 7) | public Plain(string method) method SupportedObfs (line 17) | public static List SupportedObfs() method GetObfs (line 22) | public override Dictionary GetObfs() method ClientEncode (line 27) | public override byte[] ClientEncode(byte[] encryptdata, int datalength... method ClientDecode (line 33) | public override byte[] ClientDecode(byte[] encryptdata, int datalength... FILE: shadowsocks-csharp/Obfs/ProtocolException.cs class ProtocolException (line 5) | public class ProtocolException : Exception method ProtocolException (line 7) | public ProtocolException(string info) : base(info) FILE: shadowsocks-csharp/Obfs/ServerInfo.cs class ServerInfo (line 3) | public class ServerInfo method ServerInfo (line 17) | public ServerInfo(string host, int port, string param, object data, by... method SetIV (line 32) | public void SetIV(byte[] iv) FILE: shadowsocks-csharp/Obfs/TlsAuthData.cs class TlsAuthData (line 5) | public class TlsAuthData FILE: shadowsocks-csharp/Obfs/TlsTicketAuthObfs.cs class TlsTicketAuthObfs (line 9) | class TlsTicketAuthObfs : ObfsBase method TlsTicketAuthObfs (line 11) | public TlsTicketAuthObfs(string method) method SupportedObfs (line 35) | public static List SupportedObfs() method GetObfs (line 40) | public override Dictionary GetObfs() method InitData (line 45) | public override object InitData() method isAlwaysSendback (line 50) | public override bool isAlwaysSendback() method GetOverhead (line 55) | public override int GetOverhead() method sni (line 60) | protected byte[] sni(string url) method to_val (line 81) | protected byte to_val(char c) method to_bin (line 91) | protected byte[] to_bin(string str) method hmac_sha1 (line 101) | protected void hmac_sha1(byte[] data, int length) method PackAuthData (line 114) | public void PackAuthData(byte[] outdata) method PackData (line 140) | protected void PackData(byte[] data, ref int start, int len, byte[] ou... method ClientEncode (line 153) | public override byte[] ClientEncode(byte[] encryptdata, int datalength... method ClientDecode (line 329) | public override byte[] ClientDecode(byte[] encryptdata, int datalength... FILE: shadowsocks-csharp/Obfs/VerifyData.cs class VerifyData (line 3) | public class VerifyData FILE: shadowsocks-csharp/Obfs/VerifyDeflateObfs.cs class VerifyDeflateObfs (line 8) | public class VerifyDeflateObfs : VerifySimpleBase method VerifyDeflateObfs (line 10) | public VerifyDeflateObfs(string method) method SupportedObfs (line 19) | public static List SupportedObfs() method GetObfs (line 24) | public override Dictionary GetObfs() method PackData (line 29) | public void PackData(byte[] data, int datalength, byte[] outdata, out ... method ClientPreEncrypt (line 43) | public override byte[] ClientPreEncrypt(byte[] plaindata, int dataleng... method ClientPostDecrypt (line 76) | public override byte[] ClientPostDecrypt(byte[] plaindata, int datalen... FILE: shadowsocks-csharp/Obfs/VerifySimpleBase.cs class VerifySimpleBase (line 5) | public abstract class VerifySimpleBase : ObfsBase method VerifySimpleBase (line 7) | public VerifySimpleBase(string method) method InitData (line 18) | public override object InitData() method LinearRandomInt (line 23) | public int LinearRandomInt(int max) method NonLinearRandomInt (line 28) | public int NonLinearRandomInt(int max) method TrapezoidRandomFloat (line 64) | public double TrapezoidRandomFloat(double d) // -1 <= d <= 1 method TrapezoidRandomInt (line 80) | public int TrapezoidRandomInt(int max, double d) method ClientEncode (line 86) | public override byte[] ClientEncode(byte[] encryptdata, int datalength... method ClientDecode (line 92) | public override byte[] ClientDecode(byte[] encryptdata, int datalength... FILE: shadowsocks-csharp/Obfs/xorshift128plus.cs class xorshift128plus (line 5) | class xorshift128plus method xorshift128plus (line 10) | public xorshift128plus(int init_loop_ = 4) method next (line 16) | public ulong next() method init_from_bin (line 27) | public void init_from_bin(byte[] bytes) method init_from_bin (line 35) | public void init_from_bin(byte[] bytes, int datalength) FILE: shadowsocks-csharp/Program.cs class Program (line 18) | internal static class Program method Main (line 20) | [STAThread] method StopController (line 94) | private static void StopController() method App_Exit (line 101) | private static void App_Exit(object sender, ExitEventArgs e) method SystemEvents_PowerModeChanged (line 108) | private static void SystemEvents_PowerModeChanged(object sender, Power... method CurrentDomain_UnhandledException (line 147) | private static void CurrentDomain_UnhandledException(object sender, Un... method SendCommand (line 159) | private static void SendCommand(ISingleInstanceService service, string... method ArgumentsReceived (line 171) | private static void ArgumentsReceived((string, Action) receive) FILE: shadowsocks-csharp/Properties/Resources.Designer.cs class Resources (line 22) | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resource... method Resources (line 31) | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Mic... FILE: shadowsocks-csharp/Proxy/CallbackState.cs class CallbackState (line 3) | public class CallbackState FILE: shadowsocks-csharp/Proxy/CallbackStatus.cs class CallbackStatus (line 3) | class CallbackStatus method CallbackStatus (line 7) | public CallbackStatus() method SetIfEqu (line 12) | public void SetIfEqu(int newStatus, int oldStatus) FILE: shadowsocks-csharp/Proxy/Handler.cs class Handler (line 22) | internal class Handler : IHandler type ConnectState (line 70) | enum ConnectState method ResetTimeout (line 92) | private void ResetTimeout(double time, bool reset_keep_alive = true) method timer_Elapsed (line 143) | private void timer_Elapsed(object sender, ElapsedEventArgs e) method setServerTransferTotal (line 212) | public void setServerTransferTotal(ServerTransferTotal transfer) method LogSocketException (line 217) | public int LogSocketException(Exception e) method ReConnect (line 339) | public bool ReConnect() method Start (line 379) | public void Start(byte[] firstPacket, int length, string rsp_protocol) method BeginConnect (line 413) | private void BeginConnect(IPAddress ipAddress, int serverPort) method TryReconnect (line 499) | public bool TryReconnect() method CloseSocket (line 524) | private void CloseSocket(ref Socket sock) method CloseSocket (line 553) | private void CloseSocket(ref ProxySocketTunLocal sock) method CloseSocket (line 582) | private void CloseSocket(ref ProxyEncryptSocket sock) method Shutdown (line 611) | public override void Shutdown() method Close (line 616) | public void Close() method ConnectProxyServer (line 731) | private bool ConnectProxyServer(string strRemoteHost, int iRemotePort) method Connect (line 757) | private void Connect() method ConnectCallback (line 906) | private void ConnectCallback(IAsyncResult ar) method doConnectionTCPRecv (line 941) | private void doConnectionTCPRecv() method endConnectionTCPRecv (line 952) | private int endConnectionTCPRecv(IAsyncResult ar) method doConnectionUDPRecv (line 963) | private void doConnectionUDPRecv() method endConnectionUDPRecv (line 977) | private int endConnectionUDPRecv(IAsyncResult ar, ref EndPoint endPoint) method doRemoteTCPRecv (line 993) | private void doRemoteTCPRecv() method endRemoteTCPRecv (line 1002) | private int endRemoteTCPRecv(IAsyncResult ar) method doRemoteUDPRecv (line 1022) | private void doRemoteUDPRecv() method endRemoteUDPRecv (line 1035) | private int endRemoteUDPRecv(IAsyncResult ar, ref EndPoint endPoint) method doConnectionRecv (line 1046) | private void doConnectionRecv() method SetObfsPlugin (line 1052) | private void SetObfsPlugin() method GetQueryString (line 1068) | private string GetQueryString() method GetQueryPort (line 1107) | private int GetQueryPort() method StartPipe (line 1149) | private void StartPipe() method ConnectionSend (line 1217) | private void ConnectionSend(byte[] buffer, int bytesToSend) method UDPoverTCPConnectionSend (line 1230) | private void UDPoverTCPConnectionSend(byte[] send_buffer, int bytesToS... method PipeRemoteReceiveCallback (line 1276) | private void PipeRemoteReceiveCallback(IAsyncResult ar) method PipeRemoteReceiveLoop (line 1358) | private void PipeRemoteReceiveLoop() method PipeRemoteUDPReceiveCallback (line 1448) | private void PipeRemoteUDPReceiveCallback(IAsyncResult ar) method RemoteSend (line 1507) | private int RemoteSend(byte[] bytes, int length) method RemoteSendto (line 1549) | private void RemoteSendto(byte[] bytes, int length) method PipeConnectionReceiveCallback (line 1556) | private void PipeConnectionReceiveCallback(IAsyncResult ar) method PipeConnectionUDPReceiveCallback (line 1654) | private void PipeConnectionUDPReceiveCallback(IAsyncResult ar) method PipeRemoteUDPSendCallback (line 1707) | private void PipeRemoteUDPSendCallback(IAsyncResult ar) method PipeConnectionUDPSendCallbackNoRecv (line 1724) | private void PipeConnectionUDPSendCallbackNoRecv(IAsyncResult ar) method PipeConnectionUDPSendCallback (line 1740) | private void PipeConnectionUDPSendCallback(IAsyncResult ar) method getServerUrl (line 1758) | protected string getServerUrl(out string remarks) method LogException (line 1770) | private void LogException(Exception e) method LogExceptionAndClose (line 1780) | private void LogExceptionAndClose(Exception e) FILE: shadowsocks-csharp/Proxy/HandlerConfig.cs class HandlerConfig (line 6) | class HandlerConfig : ICloneable method Clone (line 30) | public object Clone() FILE: shadowsocks-csharp/Proxy/HttpParser.cs class HttpParser (line 10) | internal class HttpParser method HttpParser (line 22) | public HttpParser(bool redir = false) method ParseHostAndPort (line 27) | private static string ParseHostAndPort(string str, ref int port) method ParseURL (line 62) | protected string ParseURL(string url, string host, int port) method HostToHandshakeBuffer (line 102) | public void HostToHandshakeBuffer(string host, int port, ref byte[] re... method AppendRequest (line 138) | protected int AppendRequest(ref byte[] Packet, ref int PacketLength) method ParseHttpHeader (line 172) | protected Dictionary ParseHttpHeader(string header) method HeaderDictToString (line 191) | protected string HeaderDictToString(Dictionary dict) method HandshakeReceive (line 204) | public int HandshakeReceive(byte[] _firstPacket, int _firstPacketLengt... method Http200 (line 296) | public static string Http200() method Http407 (line 301) | public static string Http407() method Http500 (line 316) | public static string Http500() FILE: shadowsocks-csharp/Proxy/IHandler.cs class IHandler (line 3) | public abstract class IHandler method Shutdown (line 5) | public abstract void Shutdown(); FILE: shadowsocks-csharp/Proxy/ProxyAuthHandler.cs class ProxyAuthHandler (line 16) | class ProxyAuthHandler method ProxyAuthHandler (line 41) | public ProxyAuthHandler(Configuration config, ServerTransferTotal tran... method AuthConnection (line 63) | private bool AuthConnection(string authUser, string authPass) method HandshakeReceive (line 76) | private void HandshakeReceive() method RspSocks4aHandshakeReceive (line 111) | private void RspSocks4aHandshakeReceive() method RspSocks5HandshakeReceive (line 155) | private void RspSocks5HandshakeReceive() method HandshakeAuthSendCallback (line 204) | private void HandshakeAuthSendCallback(IAsyncResult ar) method HandshakeSendCallback (line 236) | private void HandshakeSendCallback(IAsyncResult ar) method HandshakeReceive2Callback (line 259) | private void HandshakeReceive2Callback(IAsyncResult ar) method HandshakeReceive3Callback (line 296) | private void HandshakeReceive3Callback(int bytesRemain) method RspSocks5UDPHeader (line 333) | private void RspSocks5UDPHeader(int bytesRead) method RspHttpHandshakeReceive (line 402) | private void RspHttpHandshakeReceive() method HttpHandshakeRecv (line 468) | private bool HttpHandshakeRecv() method Connect (line 491) | private void Connect() method CloseSocket (line 583) | private void CloseSocket(ref Socket sock) method Close (line 616) | private void Close() method Dispose (line 624) | private void Dispose() FILE: shadowsocks-csharp/Proxy/ProxyEncryptSocket.cs class ProxyEncryptSocket (line 13) | class ProxyEncryptSocket method ProxyEncryptSocket (line 42) | public ProxyEncryptSocket(AddressFamily af, SocketType type, ProtocolT... method GetSocket (line 47) | public Socket GetSocket() method Shutdown (line 70) | public void Shutdown(SocketShutdown how) method Close (line 75) | public void Close() method BeginConnect (line 107) | public IAsyncResult BeginConnect(EndPoint ep, AsyncCallback callback, ... method EndConnect (line 114) | public void EndConnect(IAsyncResult ar) method CreateEncryptor (line 119) | public void CreateEncryptor(string method, string password) method SetProtocol (line 126) | public void SetProtocol(IObfs protocol) method SetObfs (line 131) | public void SetObfs(IObfs obfs) method SetObfsPlugin (line 136) | public void SetObfsPlugin(Server server, int head_len) method Receive (line 164) | public int Receive(byte[] recv_buffer, int size, SocketFlags flags, ou... method BeginReceive (line 193) | public IAsyncResult BeginReceive(byte[] buffer, int size, SocketFlags ... method EndReceive (line 202) | public int EndReceive(IAsyncResult ar, out bool sendback) method SendAll (line 236) | public int SendAll(byte[] buffer, int size, SocketFlags flags) method Send (line 247) | public int Send(byte[] buffer, int size, SocketFlags flags) method BeginReceiveFrom (line 267) | public IAsyncResult BeginReceiveFrom(byte[] buffer, int size, SocketFl... method RemoveRemoteUDPRecvBufferHeader (line 276) | private bool RemoveRemoteUDPRecvBufferHeader(byte[] remoteRecvBuffer, ... method ParseUDPHeader (line 315) | protected static byte[] ParseUDPHeader(byte[] buffer, ref int len) method AddRemoteUDPRecvBufferHeader (line 360) | protected void AddRemoteUDPRecvBufferHeader(byte[] decryptBuffer, byte... method EndReceiveFrom (line 369) | public int EndReceiveFrom(IAsyncResult ar, ref EndPoint ep) method BeginSendTo (line 401) | public int BeginSendTo(byte[] buffer, int size, SocketFlags flags, Asy... method EndSendTo (line 468) | public int EndSendTo(IAsyncResult ar) method GetAsyncResultSize (line 473) | public int GetAsyncResultSize(IAsyncResult ar) method GetAsyncProtocolSize (line 479) | public int GetAsyncProtocolSize(IAsyncResult ar) method GetAsyncResultBuffer (line 485) | public byte[] GetAsyncResultBuffer(IAsyncResult ar) method GetProxyUdpEndPoint (line 491) | public IPEndPoint GetProxyUdpEndPoint() method ConnectSocks5ProxyServer (line 496) | public bool ConnectSocks5ProxyServer(string strRemoteHost, int iRemote... method SetTcpServer (line 667) | public void SetTcpServer(string server, int port) method SetUdpServer (line 673) | public void SetUdpServer(string server, int port) method SetUdpEndPoint (line 679) | public void SetUdpEndPoint(IPEndPoint ep) method ConnectHttpProxyServer (line 684) | public bool ConnectHttpProxyServer(string strRemoteHost, int iRemotePo... FILE: shadowsocks-csharp/Proxy/ProxySocketTun.cs class ProxySocketTun (line 10) | public class ProxySocketTun method ProxySocketTun (line 24) | public ProxySocketTun(Socket socket) method ProxySocketTun (line 29) | public ProxySocketTun(AddressFamily af, SocketType type, ProtocolType ... method GetSocket (line 34) | public Socket GetSocket() method Shutdown (line 51) | public void Shutdown(SocketShutdown how) method Close (line 56) | public void Close() method BeginConnect (line 62) | public IAsyncResult BeginConnect(EndPoint ep, AsyncCallback callback, ... method EndConnect (line 69) | public void EndConnect(IAsyncResult ar) method Receive (line 74) | public int Receive(byte[] buffer, int size, SocketFlags flags) method BeginReceive (line 79) | public IAsyncResult BeginReceive(byte[] buffer, int size, SocketFlags ... method EndReceive (line 88) | public int EndReceive(IAsyncResult ar) method SendAll (line 102) | public int SendAll(byte[] buffer, int size, SocketFlags flags) method Send (line 113) | public virtual int Send(byte[] buffer, int size, SocketFlags flags) method BeginSend (line 118) | public int BeginSend(byte[] buffer, int size, SocketFlags flags, Async... method EndSend (line 128) | public int EndSend(IAsyncResult ar) method BeginReceiveFrom (line 133) | public IAsyncResult BeginReceiveFrom(byte[] buffer, int size, SocketFl... method GetAsyncResultSize (line 142) | public int GetAsyncResultSize(IAsyncResult ar) method GetAsyncResultBuffer (line 148) | public byte[] GetAsyncResultBuffer(IAsyncResult ar) method ConnectSocks5ProxyServer (line 154) | public bool ConnectSocks5ProxyServer(string strRemoteHost, int iRemote... method SetTcpServer (line 322) | public void SetTcpServer(string server, int port) method SetUdpServer (line 328) | public void SetUdpServer(string server, int port) method SetUdpEndPoint (line 334) | public void SetUdpEndPoint(IPEndPoint ep) method ConnectHttpProxyServer (line 339) | public bool ConnectHttpProxyServer(string strRemoteHost, int iRemotePo... FILE: shadowsocks-csharp/Proxy/ProxySocketTunLocal.cs class ProxySocketTunLocal (line 5) | public class ProxySocketTunLocal : ProxySocketTun method ProxySocketTunLocal (line 9) | public ProxySocketTunLocal(Socket socket) : base(socket) method Send (line 13) | public override int Send(byte[] buffer, int size, SocketFlags flags) FILE: shadowsocks-csharp/Util/Base64.cs class Base64 (line 6) | public static class Base64 method DecodeBase64 (line 8) | public static string DecodeBase64(string val) method DecodeBase64ToBytes (line 13) | private static byte[] DecodeBase64ToBytes(string val) method EncodeUrlSafeBase64 (line 19) | private static string EncodeUrlSafeBase64(byte[] val, bool trim) method DecodeUrlSafeBase64ToBytes (line 24) | private static byte[] DecodeUrlSafeBase64ToBytes(string val) method EncodeUrlSafeBase64 (line 30) | public static string EncodeUrlSafeBase64(string val, bool trim = true) method DecodeUrlSafeBase64 (line 35) | public static string DecodeUrlSafeBase64(string val) FILE: shadowsocks-csharp/Util/CRC.cs class CRC32 (line 7) | public static class CRC32 method CalcCRC32 (line 9) | public static ulong CalcCRC32(byte[] input, int len) method SetCRC32 (line 17) | public static void SetCRC32(byte[] buffer) class Adler32 (line 27) | public static class Adler32 method CalcAdler32 (line 29) | public static ulong CalcAdler32(byte[] input, int len) method CheckAdler32 (line 43) | public static bool CheckAdler32(byte[] input, int len) FILE: shadowsocks-csharp/Util/ColorConvert.cs class ColorConvert (line 8) | public static class ColorConvert method ColorMix (line 39) | private static byte ColorMix(byte a, byte b, double alpha) method ColorMix (line 44) | private static Color ColorMix(Color a, Color b, double alpha) method GetSpeedColor (line 51) | public static Color GetSpeedColor(long bytes) method GetConnectionColor (line 65) | public static Color GetConnectionColor(long connections) method GetLatencyColor (line 79) | public static Color GetLatencyColor(long latency) method GetConnectErrorColor (line 93) | public static Color GetConnectErrorColor(long val) method GetConnectEmptyColor (line 98) | public static Color GetConnectEmptyColor(long val) method GetErrorPercentColor (line 103) | public static Color GetErrorPercentColor(double? percent) FILE: shadowsocks-csharp/Util/Constants.cs class Constants (line 3) | internal static class Constants FILE: shadowsocks-csharp/Util/I18NUtil.cs class I18NUtil (line 8) | public static class I18NUtil method GetLanguage (line 27) | public static string GetLanguage(string langName = @"") method SetLanguage (line 41) | public static void SetLanguage(string langName) method GetAppStringValue (line 47) | public static string GetAppStringValue(string key) method GetWindowStringValue (line 56) | public static string GetWindowStringValue(this Window window, string key) method SetLanguage (line 65) | public static void SetLanguage(ResourceDictionary resources, string fi... method SetLanguage (line 80) | public static void SetLanguage(object obj) FILE: shadowsocks-csharp/Util/JsonUtils.cs class JsonUtils (line 6) | public static class JsonUtils method Serialize (line 20) | public static string Serialize(object obj, bool strict) FILE: shadowsocks-csharp/Util/NetUtils/DnsUtil.cs class DnsUtil (line 13) | public static class DnsUtil method QueryDns (line 17) | public static IPAddress? QueryDns(string host) method QueryDefaultAsync (line 28) | public static async Task QueryDefaultAsync(string host, bo... method QueryAsync (line 33) | public static async Task QueryAsync(string host, IEnumerab... FILE: shadowsocks-csharp/Util/NetUtils/IPSubnet.cs class IPSubnet (line 9) | public static class IPSubnet method IsInSubnet (line 11) | public static bool IsInSubnet(this IPAddress address, string subnetMask) method IsLoopBack (line 77) | public static bool IsLoopBack(IPAddress ip) method IsLocal (line 82) | public static bool IsLocal(IPAddress ip) method IsLocal (line 87) | public static bool IsLocal(Socket socket) method IsLan (line 92) | public static bool IsLan(IPAddress ip) method IsLan (line 116) | public static bool IsLan(Socket socket) FILE: shadowsocks-csharp/Util/NetUtils/SocketUtil.cs class SocketUtil (line 6) | public static class SocketUtil method FullClose (line 8) | public static void FullClose(this Socket s) FILE: shadowsocks-csharp/Util/NetUtils/WrappedSocket.cs class WrappedSocket (line 17) | public class WrappedSocket method BeginConnect (line 29) | public void BeginConnect(EndPoint remoteEP, AsyncCallback callback, ob... class FakeAsyncResult (line 50) | private class FakeAsyncResult : IAsyncResult class TcpUserToken (line 60) | private class TcpUserToken method TcpUserToken (line 65) | public TcpUserToken(AsyncCallback callback, object state) method OnTcpConnectCompleted (line 72) | private void OnTcpConnectCompleted(object sender, SocketAsyncEventArgs... method EndConnect (line 130) | public void EndConnect(IAsyncResult asyncResult) method Dispose (line 149) | public void Dispose() method BeginSend (line 175) | public IAsyncResult BeginSend(byte[] buffer, int offset, int size, Soc... method EndSend (line 189) | public int EndSend(IAsyncResult asyncResult) method BeginReceive (line 203) | public IAsyncResult BeginReceive(byte[] buffer, int offset, int size, ... method EndReceive (line 217) | public int EndReceive(IAsyncResult asyncResult) method Shutdown (line 231) | public void Shutdown(SocketShutdown how) method SetSocketOption (line 245) | public void SetSocketOption(SocketOptionLevel optionLevel, SocketOptio... method SetSocketOption (line 250) | public void SetSocketOption(SocketOptionLevel optionLevel, SocketOptio... FILE: shadowsocks-csharp/Util/QrCodeUtils.cs class QrCodeUtils (line 16) | public static class QrCodeUtils method ToBitmapImage (line 18) | private static BitmapImage ToBitmapImage(Image src) method GenQrCode (line 30) | public static ImageSource GenQrCode(string content, int width, int hei... method GenQrCode2 (line 50) | public static ImageSource GenQrCode2(string str, int height) method ScanBitmap (line 82) | public static Result ScanBitmap(Bitmap target) FILE: shadowsocks-csharp/Util/RNG.cs class Rng (line 6) | public static class Rng method RandBytes (line 8) | public static void RandBytes(byte[] buf, int length = -1) FILE: shadowsocks-csharp/Util/Reg.cs class Reg (line 6) | public static class Reg method SetUrlProtocol (line 8) | [Conditional("RELEASE")] method RemoveUrlProtocol (line 22) | [Conditional("RELEASE")] FILE: shadowsocks-csharp/Util/Utils.cs class Utils (line 17) | public static class Utils method SetArrayMinSize (line 19) | public static void SetArrayMinSize(ref T[] array, int size) method SetArrayMinSize2 (line 27) | public static void SetArrayMinSize2(ref T[] array, int size) method GetExecutablePath (line 35) | public static string GetExecutablePath() method GetDllPath (line 48) | public static string GetDllPath() method GetTempPath (line 70) | public static string GetTempPath(string filename) method IsGFWListPAC (line 75) | public static bool IsGFWListPAC(string filename) method OpenURL (line 89) | public static void OpenURL(string path) method EncryptLargeBytesToBase64String (line 100) | public static string EncryptLargeBytesToBase64String(IEncryptor encryp... method DecryptLargeBase64StringToBytes (line 119) | public static byte[] DecryptLargeBase64StringToBytes(IEncryptor encryp... method FormatBytes (line 140) | public static string FormatBytes(long bytes) method Except (line 169) | public static IEnumerable Except(this IEnumerable x, I... method GetLines (line 174) | public static IEnumerable GetLines(this string str, bool remov... method SetTls (line 188) | public static void SetTls() FILE: shadowsocks-csharp/Util/ViewUtils.cs class ViewUtils (line 16) | public static class ViewUtils method DestroyIcon (line 22) | [DllImport(@"user32.dll", CharSet = CharSet.Auto)] method BringToFront (line 25) | public static void BringToFront(this FrameworkElement element) method FindVisualChildren (line 37) | public static IEnumerable FindVisualChildren(DependencyObject de... method SelectColorMask (line 57) | public static Color SelectColorMask(bool isProxyEnabled, bool isGlobal... method ChangeBitmapColor (line 67) | public static Bitmap ChangeBitmapColor(Bitmap original, Color colorMas... method ResizeBitmap (line 93) | public static Bitmap ResizeBitmap(Bitmap original, int width, int height) method GetDpi (line 107) | public static int GetDpi() method GetIconSize (line 118) | public static Size GetIconSize() method SetResource (line 132) | public static void SetResource(ResourceDictionary resources, string fi... method IsOnScreen (line 145) | public static bool IsOnScreen(Window window) method IsOnScreen (line 151) | public static bool IsOnScreen(double x, double y) method IsScrolledToEnd (line 160) | public static bool IsScrolledToEnd(this TextBox textBox) FILE: shadowsocks-csharp/View/Controls/BindablePasswordBox.cs class BindablePasswordBox (line 6) | public sealed class BindablePasswordBox : Decorator method BindablePasswordBox (line 19) | static BindablePasswordBox() method BindablePasswordBox (line 32) | public BindablePasswordBox() method OnPasswordPropertyChanged (line 55) | private static void OnPasswordPropertyChanged(DependencyObject d, Depe... method HandlePasswordChanged (line 75) | private void HandlePasswordChanged(object sender, RoutedEventArgs even... FILE: shadowsocks-csharp/View/Controls/GridColumnSizerExt.cs class GridColumnSizerExt (line 7) | public class GridColumnSizerExt : GridColumnSizer method GridColumnSizerExt (line 9) | public GridColumnSizerExt(SfDataGrid dataGrid) : base(dataGrid) { } method CalculateCellWidth (line 11) | protected override double CalculateCellWidth(GridColumn column, bool s... FILE: shadowsocks-csharp/View/Controls/MaskedTextBox.xaml.cs class MaskedTextBox (line 6) | public partial class MaskedTextBox method MaskedTextBox (line 8) | public MaskedTextBox() method MaskedTextBoxPlainModeChanged (line 52) | private void MaskedTextBoxPlainModeChanged(object sender, EventArgs e) FILE: shadowsocks-csharp/View/Controls/NumberUpDown.xaml.cs class NumberUpDown (line 7) | public partial class NumberUpDown method NumberUpDown (line 62) | public NumberUpDown() method Up_Click (line 67) | private void Up_Click(object sender, RoutedEventArgs e) method Down_Click (line 79) | private void Down_Click(object sender, RoutedEventArgs e) method TxtNum_TextChanged (line 91) | private void TxtNum_TextChanged(object sender, TextChangedEventArgs e) method UserControl_Loaded (line 104) | private void UserControl_Loaded(object sender, RoutedEventArgs e) method Grid_LostFocus (line 109) | private void Grid_LostFocus(object sender, RoutedEventArgs e) FILE: shadowsocks-csharp/View/DnsSettingWindow.xaml.cs class DnsSettingWindow (line 9) | public partial class DnsSettingWindow method DnsSettingWindow (line 11) | public DnsSettingWindow() method DnsSettingViewModel_DnsClientsChanged (line 23) | private void DnsSettingViewModel_DnsClientsChanged(object sender, Syst... method LoadConfig (line 30) | private void LoadConfig() method SaveConfig (line 36) | private void SaveConfig() method AddButton_OnClick (line 44) | private void AddButton_OnClick(object sender, RoutedEventArgs e) method DeleteButton_OnClick (line 49) | private void DeleteButton_OnClick(object sender, RoutedEventArgs e) method OkButton_OnClick (line 54) | private void OkButton_OnClick(object sender, RoutedEventArgs e) method CancelButton_OnClick (line 60) | private void CancelButton_OnClick(object sender, RoutedEventArgs e) method ApplyButton_OnClick (line 65) | private void ApplyButton_OnClick(object sender, RoutedEventArgs e) method TestButton_OnClick (line 71) | private void TestButton_OnClick(object sender, RoutedEventArgs e) FILE: shadowsocks-csharp/View/LogWindow.xaml.cs class LogWindow (line 13) | public partial class LogWindow method LogWindow (line 15) | public LogWindow() method ReadLog (line 29) | private void ReadLog() method ClearLogMenuItem_Click (line 90) | private void ClearLogMenuItem_Click(object sender, RoutedEventArgs e) method ShowInExplorerMenuItem_Click (line 97) | private void ShowInExplorerMenuItem_Click(object sender, RoutedEventAr... method Window_Loaded (line 110) | private void Window_Loaded(object sender, RoutedEventArgs e) method SyncLog (line 115) | private async void SyncLog(CancellationTokenSource cts) method CloseMenuItem_Click (line 135) | private void CloseMenuItem_Click(object sender, RoutedEventArgs e) method FontMenuItem_Click (line 140) | private void FontMenuItem_Click(object sender, RoutedEventArgs e) method WrapTextMenuItem_Click (line 157) | private void WrapTextMenuItem_Click(object sender, RoutedEventArgs e) method AlwaysOnTopMenuItem_Click (line 162) | private void AlwaysOnTopMenuItem_Click(object sender, RoutedEventArgs e) method WrapTextMenuItem_Checked (line 167) | private void WrapTextMenuItem_Checked(object sender, RoutedEventArgs e) method AlwaysOnTopMenuItem_Checked (line 173) | private void AlwaysOnTopMenuItem_Checked(object sender, RoutedEventArg... method Window_Closed (line 178) | private void Window_Closed(object sender, EventArgs e) FILE: shadowsocks-csharp/View/PortSettingsWindow.xaml.cs class PortSettingsWindow (line 14) | public partial class PortSettingsWindow method PortSettingsWindow (line 22) | public PortSettingsWindow(MainController controller) method Window_Loaded (line 31) | private void Window_Loaded(object sender, RoutedEventArgs _) method PortSettingsWindow_ValueChanged (line 77) | private void PortSettingsWindow_ValueChanged(object sender, EventArgs e) method LoadItems (line 82) | private void LoadItems() method controller_ConfigChanged (line 93) | private void controller_ConfigChanged(object sender, EventArgs e) method LoadCurrentConfiguration (line 99) | private void LoadCurrentConfiguration() method LoadConfiguration (line 106) | private void LoadConfiguration(Configuration configuration) method SaveSelectedServer (line 149) | private void SaveSelectedServer() method GetIdText (line 191) | private string GetIdText(string id) method LoadSelectedServer (line 204) | private void LoadSelectedServer() method AddButton_Click (line 239) | private void AddButton_Click(object sender, RoutedEventArgs e) method DeleteButton_Click (line 275) | private void DeleteButton_Click(object sender, RoutedEventArgs e) method TypeComboBox_SelectionChanged (line 288) | private void TypeComboBox_SelectionChanged(object sender, SelectionCha... method PortsListBox_SelectionChanged (line 302) | private void PortsListBox_SelectionChanged(object sender, SelectionCha... method SaveConfig (line 323) | private void SaveConfig() method OkButton_Click (line 329) | private void OkButton_Click(object sender, RoutedEventArgs e) method CancelButton_Click (line 338) | private void CancelButton_Click(object sender, RoutedEventArgs e) method ApplyButton_Click (line 343) | private void ApplyButton_Click(object sender, RoutedEventArgs e) method GetDisplayText (line 351) | private static string GetDisplayText(Server s) method GetId (line 356) | private static string GetId(string text) method ServerListText2Key (line 366) | private static string ServerListText2Key(string text) FILE: shadowsocks-csharp/View/QRCodeSplashWindow.xaml.cs class QRCodeSplashWindow (line 9) | public partial class QRCodeSplashWindow method QRCodeSplashWindow (line 11) | public QRCodeSplashWindow() method Window_Loaded (line 28) | private void Window_Loaded(object sender, RoutedEventArgs e) method Splash (line 39) | private async void Splash() FILE: shadowsocks-csharp/View/ServerConfigWindow.xaml.cs class ServerConfigWindow (line 18) | public partial class ServerConfigWindow method ServerConfigWindow (line 20) | public ServerConfigWindow(MainController controller, int focusIndex) method ServerViewModel_ServersChanged (line 52) | private void ServerViewModel_ServersChanged(object sender, EventArgs e) method Window_Loaded (line 89) | private void Window_Loaded(object sender, RoutedEventArgs e) method UpdateTitle (line 125) | private void UpdateTitle() method controller_ConfigChanged (line 130) | private void controller_ConfigChanged(object sender, EventArgs e) method LoadCurrentConfiguration (line 136) | private void LoadCurrentConfiguration(bool scrollToSelectedItem) method MoveToSelectedItem (line 154) | public void MoveToSelectedItem(int index) method MoveToSelectedItem (line 163) | private void MoveToSelectedItem(string id) method MoveToSelectedItem (line 172) | private void MoveToSelectedItem(ServerTreeViewModel serverTreeViewModel) method AddButton_Click (line 180) | private void AddButton_Click(object sender, RoutedEventArgs e) method DeleteButton_Click (line 225) | private void DeleteButton_Click(object sender, RoutedEventArgs e) method ServersTreeView_OnSelectionChanged (line 239) | private void ServersTreeView_OnSelectionChanged(object sender, ItemSel... method ServersTreeView_OnItemDropping (line 253) | private void ServersTreeView_OnItemDropping(object sender, TreeViewIte... method LinkTextBox_TextChanged (line 362) | private void LinkTextBox_TextChanged(object sender, TextChangedEventAr... method LinkTextBox_PreviewMouseUp (line 367) | private void LinkTextBox_PreviewMouseUp(object sender, MouseButtonEven... method LinkTextBox_GotFocus (line 376) | private void LinkTextBox_GotFocus(object sender, RoutedEventArgs e) method ObfsComboBox_SelectionChanged (line 383) | private void ObfsComboBox_SelectionChanged(object sender, SelectionCha... method SaveConfig (line 401) | private bool SaveConfig() method OkButton_Click (line 429) | private void OkButton_Click(object sender, RoutedEventArgs e) method CancelButton_Click (line 444) | private void CancelButton_Click(object sender, RoutedEventArgs e) method ApplyButton_Click (line 449) | private void ApplyButton_Click(object sender, RoutedEventArgs e) method GenQr (line 459) | private void GenQr(string text) method ShowQrCodeButton_OnClick (line 488) | private void ShowQrCodeButton_OnClick(object sender, RoutedEventArgs e) method ConfigWindow_OnActivated (line 509) | private void ConfigWindow_OnActivated(object sender, EventArgs e) FILE: shadowsocks-csharp/View/ServerLogWindow.xaml.cs class ServerLogWindow (line 20) | public partial class ServerLogWindow method ServerLogWindow (line 22) | public ServerLogWindow(MainController controller, WindowStatus status) method LoadLanguage (line 51) | private void LoadLanguage() method LoadConfig (line 72) | private void LoadConfig(bool isFirstLoad) method controller_ConfigChanged (line 88) | private void controller_ConfigChanged(object sender, EventArgs e) method UpdateTitle (line 96) | private void UpdateTitle() method AlwaysTopMenuItem_OnClick (line 101) | private void AlwaysTopMenuItem_OnClick(object sender, RoutedEventArgs e) method AutoSizeMenuItem_OnClick (line 106) | private void AutoSizeMenuItem_OnClick(object sender, RoutedEventArgs e) method DisconnectDirectMenuItem_OnClick (line 119) | private void DisconnectDirectMenuItem_OnClick(object sender, RoutedEve... method DisconnectAllMenuItem_OnClick (line 124) | private void DisconnectAllMenuItem_OnClick(object sender, RoutedEventA... method ClearMaxMenuItem_OnClick (line 130) | private void ClearMaxMenuItem_OnClick(object sender, RoutedEventArgs e) method ClearAllMenuItem_OnClick (line 139) | private void ClearAllMenuItem_OnClick(object sender, RoutedEventArgs e) method ClearSelectedTotalMenuItem_OnClick (line 148) | private void ClearSelectedTotalMenuItem_OnClick(object sender, RoutedE... method ClearTotalMenuItem_OnClick (line 164) | private void ClearTotalMenuItem_OnClick(object sender, RoutedEventArgs e) method CopyCurrentLinkMenuItem_OnClick (line 173) | private void CopyCurrentLinkMenuItem_OnClick(object sender, RoutedEven... method CopyCurrentGroupLinksMenuItem_OnClick (line 183) | private void CopyCurrentGroupLinksMenuItem_OnClick(object sender, Rout... method CopyAllEnableLinksMenuItem_OnClick (line 194) | private void CopyAllEnableLinksMenuItem_OnClick(object sender, RoutedE... method CopyAllLinksMenuItem_OnClick (line 201) | private void CopyAllLinksMenuItem_OnClick(object sender, RoutedEventAr... method ServerDataGrid_OnCellTapped (line 208) | private void ServerDataGrid_OnCellTapped(object sender, GridCellTapped... method ServerDataGrid_OnCellDoubleTapped (line 249) | private void ServerDataGrid_OnCellDoubleTapped(object sender, GridCell... method ServerDataGrid_OnMouseLeftButtonUp (line 300) | private void ServerDataGrid_OnMouseLeftButtonUp(object sender, MouseBu... FILE: shadowsocks-csharp/View/SettingsWindow.xaml.cs class SettingsWindow (line 11) | public partial class SettingsWindow method SettingsWindow (line 13) | public SettingsWindow(MainController controller) method LoadCurrentConfiguration (line 27) | private void LoadCurrentConfiguration() method controller_ConfigChanged (line 39) | private void controller_ConfigChanged(object sender, EventArgs e) method SaveConfig (line 44) | private void SaveConfig() method OkButton_Click (line 59) | private void OkButton_Click(object sender, RoutedEventArgs e) method CancelButton_Click (line 68) | private void CancelButton_Click(object sender, RoutedEventArgs e) method ApplyButton_Click (line 73) | private void ApplyButton_Click(object sender, RoutedEventArgs e) method DefaultButton_Click (line 78) | private void DefaultButton_Click(object sender, RoutedEventArgs e) method AutoStartupCheckBox_CheckedChanged (line 85) | private void AutoStartupCheckBox_CheckedChanged(object sender, RoutedE... FILE: shadowsocks-csharp/View/ShowTextWindow.xaml.cs class ShowTextWindow (line 7) | public partial class ShowTextWindow method ShowTextWindow (line 9) | public ShowTextWindow(string text) method TextBox_TextChanged (line 16) | private void TextBox_TextChanged(object sender, System.Windows.Control... method ShowTextWindow_SizeChanged (line 21) | private void ShowTextWindow_SizeChanged(object sender, SizeChangedEven... method ShowTextWindow_Loaded (line 28) | private void ShowTextWindow_Loaded(object sender, RoutedEventArgs e) method GenQr (line 36) | private void GenQr(string text) FILE: shadowsocks-csharp/View/SubscribeWindow.xaml.cs class SubscribeWindow (line 13) | public partial class SubscribeWindow method SubscribeWindow (line 15) | public SubscribeWindow(MainController controller) method SubscribeWindowViewModel_SubscribesChanged (line 30) | private void SubscribeWindowViewModel_SubscribesChanged(object sender,... method Window_Loaded (line 42) | private void Window_Loaded(object sender, RoutedEventArgs _) method controller_ConfigChanged (line 47) | private void controller_ConfigChanged(object sender, EventArgs e) method LoadCurrentConfiguration (line 52) | private void LoadCurrentConfiguration() method ServerSubscribeListBox_SelectionChanged (line 60) | private void ServerSubscribeListBox_SelectionChanged(object sender, Se... method DeleteUnusedServer (line 65) | private void DeleteUnusedServer() method SaveConfig (line 73) | private bool SaveConfig() method OkButton_Click (line 102) | private void OkButton_Click(object sender, RoutedEventArgs e) method CancelButton_Click (line 115) | private void CancelButton_Click(object sender, RoutedEventArgs e) method ApplyButton_Click (line 120) | private void ApplyButton_Click(object sender, RoutedEventArgs e) method AddButton_Click (line 129) | private void AddButton_Click(object sender, RoutedEventArgs e) method DeleteButton_Click (line 135) | private void DeleteButton_Click(object sender, RoutedEventArgs e) method SetServerListSelectedIndex (line 149) | private void SetServerListSelectedIndex(int index) method Save (line 171) | private bool Save() method SaveError (line 176) | private void SaveError() method UpdateButton_OnClick (line 181) | private void UpdateButton_OnClick(object sender, RoutedEventArgs e) FILE: shadowsocks-csharp/View/ValueConverter/BalanceTypeEnumConverter.cs class BalanceTypeEnumConverter (line 10) | public class BalanceTypeEnumConverter : IValueConverter method Convert (line 12) | public object Convert(object value, Type targetType, object parameter,... method ConvertBack (line 22) | public object ConvertBack(object value, Type targetType, object parame... FILE: shadowsocks-csharp/View/ValueConverter/BooleanToEnabledConverter.cs class BooleanToEnabledConverter (line 10) | public class BooleanToEnabledConverter : IValueConverter method Convert (line 12) | public object Convert(object value, Type targetType, object parameter,... method ConvertBack (line 31) | public object ConvertBack(object value, Type targetType, object parame... FILE: shadowsocks-csharp/View/ValueConverter/ConnectEmptyToBrushConverter.cs class ConnectEmptyToBrushConverter (line 9) | public class ConnectEmptyToBrushConverter : IValueConverter method Convert (line 11) | public object Convert(object value, Type targetType, object parameter,... method ConvertBack (line 21) | public object ConvertBack(object value, Type targetType, object parame... FILE: shadowsocks-csharp/View/ValueConverter/ConnectErrorToBrushConverter.cs class ConnectErrorToBrushConverter (line 9) | public class ConnectErrorToBrushConverter : IValueConverter method Convert (line 11) | public object Convert(object value, Type targetType, object parameter,... method ConvertBack (line 21) | public object ConvertBack(object value, Type targetType, object parame... FILE: shadowsocks-csharp/View/ValueConverter/ConnectNumberToBrushConverter.cs class ConnectNumberToBrushConverter (line 9) | public class ConnectNumberToBrushConverter : IValueConverter method Convert (line 11) | public object Convert(object value, Type targetType, object parameter,... method ConvertBack (line 21) | public object ConvertBack(object value, Type targetType, object parame... FILE: shadowsocks-csharp/View/ValueConverter/ErrorPercentToBrushConverter.cs class ErrorPercentToBrushConverter (line 9) | public class ErrorPercentToBrushConverter : IValueConverter method Convert (line 11) | public object Convert(object value, Type targetType, object parameter,... method ConvertBack (line 21) | public object ConvertBack(object value, Type targetType, object parame... FILE: shadowsocks-csharp/View/ValueConverter/LatencyToBrushConverter.cs class LatencyToBrushConverter (line 9) | public class LatencyToBrushConverter : IValueConverter method Convert (line 11) | public object Convert(object value, Type targetType, object parameter,... method ConvertBack (line 21) | public object ConvertBack(object value, Type targetType, object parame... FILE: shadowsocks-csharp/View/ValueConverter/ProxyTypeConverter.cs class ProxyTypeConverter (line 7) | public class ProxyTypeConverter : IValueConverter method Convert (line 9) | public object Convert(object value, Type targetType, object parameter,... method ConvertBack (line 14) | public object ConvertBack(object value, Type targetType, object parame... FILE: shadowsocks-csharp/View/ValueConverter/ProxyTypeEnumConverter.cs class ProxyTypeEnumConverter (line 10) | public class ProxyTypeEnumConverter : IValueConverter method Convert (line 12) | public object Convert(object value, Type targetType, object parameter,... method ConvertBack (line 21) | public object ConvertBack(object value, Type targetType, object parame... FILE: shadowsocks-csharp/View/ValueConverter/ServerTreeTypeToFontConverter.cs class ServerTreeTypeToFontConverter (line 10) | public class ServerTreeTypeToFontConverter : IValueConverter method Convert (line 12) | public object Convert(object value, Type targetType, object parameter,... method ConvertBack (line 45) | public object ConvertBack(object value, Type targetType, object parame... FILE: shadowsocks-csharp/View/ValueConverter/SpeedToBrushConverter.cs class SpeedToBrushConverter (line 9) | public class SpeedToBrushConverter : IValueConverter method Convert (line 11) | public object Convert(object value, Type targetType, object parameter,... method ConvertBack (line 20) | public object ConvertBack(object value, Type targetType, object parame... FILE: shadowsocks-csharp/View/ValueConverter/TotalDownloadBackgroundBrushConvert.cs class TotalDownloadBackgroundBrushConvert (line 10) | public class TotalDownloadBackgroundBrushConvert : IValueConverter method Convert (line 12) | public object Convert(object value, Type targetType, object parameter,... method ConvertBack (line 24) | public object ConvertBack(object value, Type targetType, object parame... FILE: shadowsocks-csharp/View/ValueConverter/TotalDownloadRawBackgroundBrushConvert.cs class TotalDownloadRawBackgroundBrushConvert (line 10) | public class TotalDownloadRawBackgroundBrushConvert : IValueConverter method Convert (line 12) | public object Convert(object value, Type targetType, object parameter,... method ConvertBack (line 24) | public object ConvertBack(object value, Type targetType, object parame... FILE: shadowsocks-csharp/View/ValueConverter/TotalUploadBackgroundBrushConvert.cs class TotalUploadBackgroundBrushConvert (line 10) | public class TotalUploadBackgroundBrushConvert : IValueConverter method Convert (line 12) | public object Convert(object value, Type targetType, object parameter,... method ConvertBack (line 24) | public object ConvertBack(object value, Type targetType, object parame... FILE: shadowsocks-csharp/View/ValueConverter/UnixSecondsToString.cs class UnixSecondsToString (line 6) | public class UnixSecondsToString : IValueConverter method Convert (line 8) | public object Convert(object value, Type targetType, object parameter,... method ConvertBack (line 20) | public object ConvertBack(object value, Type targetType, object parame... FILE: shadowsocks-csharp/ViewModel/DnsSettingViewModel.cs class DnsSettingViewModel (line 11) | public class DnsSettingViewModel : ViewModelBase method DnsSettingViewModel (line 13) | public DnsSettingViewModel() method CurrentClient_PropertyChanged (line 23) | private void CurrentClient_PropertyChanged(object sender, System.Compo... method Clients_CollectionChanged (line 46) | private void Clients_CollectionChanged(object sender, System.Collectio... method ReadConfig (line 87) | public void ReadConfig() method SaveConfig (line 100) | public void SaveConfig() method AddNewDns (line 111) | public void AddNewDns() method Delete (line 118) | public void Delete() FILE: shadowsocks-csharp/ViewModel/ServerConfigViewModel.cs class ServerConfigViewModel (line 10) | public class ServerConfigViewModel : ViewModelBase method ServerConfigViewModel (line 12) | public ServerConfigViewModel() method ReadServers (line 30) | public void ReadServers(List configs) method ServerTreeViewModelToList (line 84) | public static IEnumerable ServerTreeViewModelToList(IEnumerabl... method ServerCollection_CollectionChanged (line 101) | private void ServerCollection_CollectionChanged(object sender, System.... method ServerChanged (line 108) | private void ServerChanged(object sender, EventArgs e) FILE: shadowsocks-csharp/ViewModel/ServerLogViewModel.cs class ServerLogViewModel (line 6) | public class ServerLogViewModel : ViewModelBase method ServerLogViewModel (line 8) | public ServerLogViewModel() method ReadConfig (line 27) | public void ReadConfig() FILE: shadowsocks-csharp/ViewModel/SettingViewModel.cs class SettingViewModel (line 5) | public class SettingViewModel : ViewModelBase method SettingViewModel (line 7) | public SettingViewModel() method ReadConfig (line 20) | public void ReadConfig() FILE: shadowsocks-csharp/ViewModel/SubscribeWindowViewModel.cs class SubscribeWindowViewModel (line 7) | public class SubscribeWindowViewModel : ViewModelBase method SubscribeWindowViewModel (line 9) | public SubscribeWindowViewModel() method ReadConfig (line 14) | public void ReadConfig(Configuration config) method SubscribeCollection_CollectionChanged (line 26) | private void SubscribeCollection_CollectionChanged(object sender, Syst... method _selectedServer_SubscribeChanged (line 63) | private void _selectedServer_SubscribeChanged(object sender, EventArgs e) FILE: shadowsocks-csharp/ViewModel/ViewModelBase.cs class ViewModelBase (line 7) | public abstract class ViewModelBase : INotifyPropertyChanged method OnPropertyChanged (line 11) | protected void OnPropertyChanged(string propertyName) => PropertyChang... method SetField (line 13) | protected virtual bool SetField(ref T field, T value, [CallerMember...