public void method_8() { if (!this.bool_1) { if ((this.enum0_0 == ((ClientTimeEnum)1)) && !this.class117_0.method_7()) { this.iagileLogger_1.LogWithTime("Current server instance must run on internet ! "); return; } if (this.enum0_0 == ((ClientTimeEnum)2)) { string str = null; if (!Class44.smethod_0(this.string_0, out str)) { this.iagileLogger_1.LogWithTime("Failed to verify Security Dog for Current server instance. " + str); return; } } if ((this.enum0_0 == ((ClientTimeEnum)3)) && !Class118.smethod_0(this.string_1)) { this.iagileLogger_1.LogWithTime("SN of current server instance is invalid ! "); return; } } this.tcpListener_0.Start(); if (this.tcpListener_1 != null) { this.tcpListener_1.Start(); } this.object_0 = 1; base.DetectSpanInSecs = 0; base.Start(); }
private Enum5 method_4() { try { if (bool_1) { Class120 class2 = Class120.smethod_0(Class62.string_2); if (!Class118.smethod_0(class2.string_0)) { return((Enum5)2); } DateTime time = class2.method_0(); if (DateTime.Now > time) { return((Enum5)3); } } return((Enum5)0); } catch { return((Enum5)1); } }