Exemple #1
0
    // Token: 0x060007C9 RID: 1993 RVA: 0x00045E14 File Offset: 0x00044014
    public static void smethod_1(string string_0)
    {
        string  text         = Class170.dictionary_0.ContainsKey(string_0) ? Class170.dictionary_0[string_0] : string_0;
        JObject jobject      = new JObject();
        string  propertyName = text;

        jobject[propertyName] = Class130.jobject_3[text];
        Class26.smethod_3(jobject);
    }
Exemple #2
0
    // Token: 0x06000145 RID: 325 RVA: 0x000085B8 File Offset: 0x000067B8
    public static bool smethod_2()
    {
        bool result;

        try
        {
            result = Class26.smethod_4(Class26.smethod_3());
        }
        catch (Exception exception_)
        {
            Class8.smethod_86(exception_, "ClearAccessControlEntries");
            result = false;
        }
        return(result);
    }
Exemple #3
0
 // Token: 0x06000210 RID: 528 RVA: 0x00012B30 File Offset: 0x00010D30
 private void method_2(object sender, MessageEventArgs e)
 {
     try
     {
         JObject jobject = JObject.Parse(e.Data);
         MainWindow.smethod_0();
         if (jobject.ContainsKey("quicktask"))
         {
             Class170.smethod_0(jobject["quicktask"].ToString(), (string)jobject["id"]);
         }
         if (jobject.ContainsKey("stop"))
         {
             Class170.smethod_1(jobject["stop"].ToString());
         }
         if (jobject.ContainsKey("stopall"))
         {
             Class26.smethod_3(Class130.jobject_3);
         }
         if (jobject.ContainsKey("startall"))
         {
             Class26.smethod_1(Class130.jobject_3, null);
         }
         if (jobject.ContainsKey("linkchange"))
         {
             Class1.smethod_1(jobject["linkchange"].ToString());
         }
         if (jobject.ContainsKey("message"))
         {
             MainWindow.webView_0.QueueScriptCall(string.Format("swal('Message', '{0}', 'info')", jobject["message"].ToString().smethod_8()));
         }
         if (jobject.ContainsKey("reset"))
         {
             Class130.string_3 = null;
             Class130.smethod_1();
             MainWindow.mainWindow_0.method_4(null, null);
         }
         if (jobject.ContainsKey("close"))
         {
             MainWindow.mainWindow_0.method_4(null, null);
         }
     }
     catch
     {
     }
 }
Exemple #4
0
    // Token: 0x06000144 RID: 324 RVA: 0x00008548 File Offset: 0x00006748
    public static bool smethod_1()
    {
        bool result;

        try
        {
            RawSecurityDescriptor rawSecurityDescriptor = Class26.smethod_3();
            SecurityIdentifier    sid = new SecurityIdentifier(WellKnownSidType.WorldSid, null);
            CommonAce             ace = new CommonAce(AceFlags.None, AceQualifier.AccessAllowed, 2035707, sid, false, null);
            rawSecurityDescriptor.DiscretionaryAcl.InsertAce(0, ace);
            result = Class26.smethod_4(rawSecurityDescriptor);
        }
        catch (Exception exception_)
        {
            Class8.smethod_86(exception_, "RestoreAccessControlEntries");
            result = false;
        }
        return(result);
    }
Exemple #5
0
 // Token: 0x0600011C RID: 284 RVA: 0x000035A1 File Offset: 0x000017A1
 public static void smethod_2(object object_0, JSExtInvokeArgs jsextInvokeArgs_0)
 {
     Class26.smethod_3(JObject.Parse(jsextInvokeArgs_0.Arguments.First <object>().ToString()));
 }