Exemplo n.º 1
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);
    }
Exemplo n.º 2
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);
    }