private void method_6(IPEndPoint ipendPoint_0, FeedbackVacancyBody feedbackVacancyBody_0) { Class116 class2 = this.safeDictionary_0.Get(ipendPoint_0); if (class2 != null) { class2.method_18(feedbackVacancyBody_0, false); } }
private void method_1(IPEndPoint ipendPoint_0, string string_1, ushort ushort_0) { Class116 class2 = this.safeDictionary_0.Get(ipendPoint_0); if (class2 != null) { class2.method_15(ushort_0); } }
public bool imethod_2(IPEndPoint ipendPoint_0) { Class116 class2 = this.safeDictionary_0.Get(ipendPoint_0); if (class2 == null) { return(false); } return(class2.method_11(1)); }
public OutUdpSessionState GetOutUdpSessionState(IPEndPoint destIPE) { Class116 class2 = this.safeDictionary_0.Get(destIPE); if (class2 == null) { return(null); } return(class2.method_20()); }
public void Send(byte[] byte_0, IPEndPoint ipendPoint_0) { if (byte_0.Length > this.int_0) { throw new Exception("Data Size overflow !"); } Class116 class2 = this.safeDictionary_0.Get(ipendPoint_0); if (class2 != null) { class2.method_7(byte_0); } }
private void OnUdpSessionOpened(IPEndPoint ipendPoint_0, string string_1) { Class116 class2 = new Class116((IPv6)this.object_1, ipendPoint_0, string_1, this.int_1); class2.SessionClosed += new CbGeneric <Interface17, SessionClosedCause>(this.method_8); this.safeDictionary_0.Add(ipendPoint_0, class2); Class100 class3 = this.safeDictionary_1.Get(ipendPoint_0); if (class3 != null) { class3.method_7(true); } this.eventSafeTrigger_0.Action <Interface17>("UdpSessionOpened", this.UdpSessionOpened, class2); }
internal static void smethod_0() { if (Class116.mutex_0.WaitOne(TimeSpan.Zero, true)) { Class116.smethod_7(); new GClass3(); Class5.smethod_2(); Class130.smethod_0(); Application.Run(new Startup(true)); Class116.mutex_0.ReleaseMutex(); return; } Class133.PostMessage((IntPtr)65535, Class133.int_0, IntPtr.Zero, IntPtr.Zero); }
// Token: 0x0600003D RID: 61 RVA: 0x00007B04 File Offset: 0x00005D04 public static void smethod_2() { try { if (Class5.smethod_0()) { if (!Class116.smethod_5(null)) { Class116.smethod_2(); } else { using (ZipArchive zipArchive = ZipFile.OpenRead(Class5.string_0)) { foreach (ZipArchiveEntry zipArchiveEntry in zipArchive.Entries) { string text = Path.Combine(Application.StartupPath, zipArchiveEntry.FullName); if (zipArchiveEntry.Name == string.Empty) { Directory.CreateDirectory(Path.GetDirectoryName(text)); } else { if (File.Exists(text)) { if (File.Exists(text + ".temp")) { File.Delete(text + ".temp"); } File.Move(text, text + ".temp"); } else { File.Create(text + ".temp").Close(); } zipArchiveEntry.ExtractToFile(text, true); } } } File.Delete(Class5.string_0); Class116.smethod_3(); } } } catch { } }
private void method_2(IPEndPoint ipendPoint_0) { Class116 class2 = this.safeDictionary_0.Get(ipendPoint_0); if (class2 != null) { class2.Close(SessionClosedCause.DestExit, false); this.OnUdpSessionClosed(class2, SessionClosedCause.DestExit); } Class100 class3 = this.safeDictionary_1.Get(ipendPoint_0); if (class3 != null) { class3.Close(SessionClosedCause.DestExit, false); this.OnUdpSessionClosed(class3, SessionClosedCause.DestExit); } }
public void imethod_3(IPEndPoint ipendPoint_0) { Class116 class2 = this.safeDictionary_0.Get(ipendPoint_0); if (class2 != null) { class2.Close(SessionClosedCause.ActiveClose, false); this.OnUdpSessionClosed(class2, SessionClosedCause.ActiveClose); } Class100 class3 = this.safeDictionary_1.Get(ipendPoint_0); if (class3 != null) { class3.Close(SessionClosedCause.ActiveClose, false); this.OnUdpSessionClosed(class3, SessionClosedCause.ActiveClose); } }
// Token: 0x0600049E RID: 1182 RVA: 0x00021BC8 File Offset: 0x0001FDC8 public static bool smethod_2() { if (Class116.smethod_4()) { return(false); } new Process { StartInfo = { FileName = Application.ExecutablePath, UseShellExecute = true, Verb = "runas" } }.Start(); Process.GetCurrentProcess().Kill(); return(true); }
// Token: 0x06000040 RID: 64 RVA: 0x00007C9C File Offset: 0x00005E9C public static void smethod_5() { IEnumerable <string> enumerable = Directory.GetFiles(Application.StartupPath, "*.temp", SearchOption.AllDirectories).Where(new Func <string, bool>(Class5.Class6.class6_0.method_0)); if (enumerable.Any <string>()) { Class116.smethod_2(); } foreach (string path in enumerable) { try { File.Delete(path); } catch { } } }
// Token: 0x060004A3 RID: 1187 RVA: 0x00021C6C File Offset: 0x0001FE6C public static void smethod_7() { List <string> source = new List <string> { ".temp", "Bunifu_UI_v1.5.3.dll" }; Assembly.GetEntryAssembly().GetName().Version == new Version("3.4.0.0"); int num = 0; foreach (string text in Directory.GetFiles(Application.StartupPath)) { try { if (source.Any(new Func <string, bool>(new Class116.Class118 { string_0 = new FileInfo(text).FullName }.method_0)) && text != Application.ExecutablePath) { File.Delete(text); num++; } } catch (UnauthorizedAccessException) { Class116.smethod_2(); } catch { } } if (num > 0) { Class116.smethod_3(); } }
private void udpClient_DataReceived(IPEndPoint ipendPoint_0, byte[] byte_0) { try { IHeader1 class2 = IHeader1.smethod_0(byte_0); if (class2 != null) { if (class2.method_0() == 0) { IPEndPointBody class4 = IPEndPointBody.smethod_0(byte_0, 4, class2.method_4()); this.OnUdpSessionOpened(class2.method_2(), class4.method_0(), ipendPoint_0, new AgileIPE(class4.method_2(), class4.method_4())); } else if (class2.method_0() == 1) { this.OnUdpSessionOpened(ipendPoint_0, StringBody.smethod_0(byte_0, 4, class2.method_4()).method_0()); } else { Class100 class3; if (class2.method_0() == 2) { class3 = this.safeDictionary_1.Get(ipendPoint_0); if ((class3 != null) && (class3.method_1() == class2.method_2())) { DataFragmentBody class7 = DataFragmentBody.smethod_0(byte_0, 4, class2.method_4()); class3.method_8(class7); } } else if (class2.method_0() == 4) { FeedbackVacancyBody body = FeedbackVacancyBody.Parse(byte_0, 4, class2.method_4()); Class116 class5 = this.safeDictionary_0.Get(ipendPoint_0); if (class5 != null) { class5.method_18(body, true); } } else if (class2.method_0() == 5) { this.method_2(ipendPoint_0); } else if (class2.method_0() == 6) { class3 = this.safeDictionary_1.Get(ipendPoint_0); if (class3 != null) { class3.method_9(); } } else if (class2.method_0() == 7) { class3 = this.safeDictionary_1.Get(ipendPoint_0); if ((class3 != null) && (class3.method_1() == class2.method_2())) { Class154 class8 = Class154.smethod_0(byte_0, 4, class2.method_4()); ushort num = (ushort)(0x2c + class8.BodyTotalLength); this.class32_0.imethod_2(class3.imethod_2(), num); } } } } } catch (Exception exception) { this.emptyAgileLogger_0.Log(exception, "CJFramework.Engine.Udp.Reliable.ReliableUdpEngine.udpClient_DataReceived", ErrorLevel.Standard); } }
public abstract void Visit(Class116 c);
private static void Main() { Class116.smethod_0(); }
public override void Visit(Class116 c) { }