コード例 #1
0
        // Token: 0x06001D46 RID: 7494 RVA: 0x0005DEDC File Offset: 0x0005C0DC
        public static string smethod_0(IntPtr dllHandle, int messageTableId, int messageLanguageId, int messageId)
        {
            IntPtr memory;

            NtStatus status = Class265.RtlFindMessage(dllHandle, messageTableId, messageLanguageId, messageId, out memory);

            if (status.smethod_1())
            {
                return(null);
            }
            string result;

            using (Class128 @class = new Class128(memory))
            {
                if ((ushort)(@class.method_21 <Struct19>().enum114_0 & Enum114.flag_1) == 1)
                {
                    result = @class.method_24(Struct19.int_0);
                }
                else
                {
                    result = @class.method_7(Struct19.int_0);
                }
            }
            return(result);
        }
コード例 #2
0
ファイル: BaseUdpEngine.cs プロジェクト: jollitycn/JGNet
 public void method_0(IPv6UdpClient class164_0, bool bool_3, Interface18 interface18_0, string string_2)
 {
     this.bool_1 = bool_3;
     class164_0.SetAgileLogger(this.emptyAgileLogger_0);
     class164_0.HandleExcetion += new CbGeneric <Exception>(this.OnException);
     class164_0.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.SendBuffer, this.int_1);
     class164_0.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.ReceiveBuffer, this.int_2);
     class164_0.IOControl(-1744830452, new byte[] { Convert.ToByte(false) }, null);
     this.int_0 = class164_0.method_2();
     if (!this.bool_0)
     {
         this.string_1 = class164_0.GetIPAddress().ToString();
     }
     if (this.bool_1)
     {
         ReliableUdpEngine class2 = new ReliableUdpEngine(class164_0, this.int_3, this.emptyAgileLogger_0, interface18_0, string_2);
         this.object_0 = class2;
     }
     else
     {
         class164_0.Initialize();
         this.object_0 = class164_0;
     }
     this.interface44_0          = Class128.smethod_0(this.enum6_0, this.interface8_0, this.int_3, this.string_0);
     this.object_0.DataReceived += new CbGeneric <IPEndPoint, byte[]>(this.udpClient_DataReceived);
 }
コード例 #3
0
        private Predicate <object> method_12(MemberInfo memberInfo_0)
        {
            Class128   class2 = new Class128();
            MethodInfo method = memberInfo_0.DeclaringType.GetMethod("ShouldSerialize" + memberInfo_0.Name, Class194.type_0);

            if ((method != null) && !(method.ReturnType != typeof(bool)))
            {
                class2.delegate3_0 = Class139.Class166_0.ns20.Class166.‫‌‪‭‭‪‌‎‮‬​‌‌‬‎‮‌‏‌‎‪‌‏‬‫‭‮ <object>(method);
                return(new Predicate <object>(class2.method_0));
            }
            return(null);
        }
コード例 #4
0
 public void method_2()
 {
     if (this.bool_0)
     {
         this.bool_0 = false;
         Class128.smethod_4(this);
         TimerProfile profile = this.method_0();
         if (profile != null)
         {
             profile.method_2();
         }
     }
 }
コード例 #5
0
 // Token: 0x060001B1 RID: 433 RVA: 0x00003BCE File Offset: 0x00001DCE
 public void method_5(Class128 class128_1)
 {
     this.class128_0 = class128_1;
 }
コード例 #6
0
 public abstract void Visit(Class128 c);
コード例 #7
0
 public override void Visit(Class128 c) { }
コード例 #8
0
 public static void smethod_1(TextWriter textWriter_0)
 {
     Class128.smethod_0(textWriter_0);
 }