예제 #1
0
        private void c1407c35c283ebd47faa6387f1344632a(bool cfb2f2abc8e61232ab9b3563c7fc6acf6)
        {
            RegistryKey key = null;

            try
            {
                key = this.c415bfcb88a8d55589d8930c68944a7a9();
                if (key != null)
                {
                    goto Label_0031;
                }
Label_000C:
                switch (4)
                {
                case 0:
                    goto Label_000C;

                default:
                {
                    if (1 == 0)
                    {
                    }
                    string message = c0bbbfa1d3eac60244be07cb7c7058941.c47c07faa149539febe2a8e1f978fa8dd(0x222d);
                    throw new InvalidOperationException(message);
                }
                }
Label_0031:
                if (cfb2f2abc8e61232ab9b3563c7fc6acf6)
                {
                    key.SetValue(c0bbbfa1d3eac60244be07cb7c7058941.c47c07faa149539febe2a8e1f978fa8dd(0x228c), string.Empty);
                }
                else
                {
                    string name = c0bbbfa1d3eac60244be07cb7c7058941.c47c07faa149539febe2a8e1f978fa8dd(0x228c);
                    key.DeleteValue(name, false);
                }
                FileExtensionInfo.cce833f06f74ce72fd6c2fddde19f6f65();
            }
            catch
            {
            }
            finally
            {
                if (key == null)
                {
                    goto Label_007D;
                }
Label_006D:
                switch (3)
                {
                case 0:
                    goto Label_006D;

                default:
                    key.Close();
                    break;
                }
                Label_007D :;
            }
        }
예제 #2
0
        private void c8512788c98b9545a46e14725f3c690fe(string cfb2f2abc8e61232ab9b3563c7fc6acf6)
        {
            RegistryKey key = null;

            try
            {
                key = this.c415bfcb88a8d55589d8930c68944a7a9();
                if (key != null)
                {
                    goto Label_0033;
                }
Label_000E:
                switch (2)
                {
                case 0:
                    goto Label_000E;

                default:
                {
                    if (1 == 0)
                    {
                    }
                    string message = c0bbbfa1d3eac60244be07cb7c7058941.c47c07faa149539febe2a8e1f978fa8dd(0x222d);
                    throw new InvalidOperationException(message);
                }
                }
Label_0033:
                key.SetValue(string.Empty, cfb2f2abc8e61232ab9b3563c7fc6acf6);
                FileExtensionInfo.cce833f06f74ce72fd6c2fddde19f6f65();
            }
            catch
            {
            }
            finally
            {
                if (key == null)
                {
                    goto Label_005E;
                }
Label_004E:
                switch (4)
                {
                case 0:
                    goto Label_004E;

                default:
                    key.Close();
                    break;
                }
                Label_005E :;
            }
        }
예제 #3
0
        private void c728b98f4053ae5d36a3953059175062b(string cfb2f2abc8e61232ab9b3563c7fc6acf6)
        {
            RegistryKey key = null;

            try
            {
                string text3  = c0bbbfa1d3eac60244be07cb7c7058941.c47c07faa149539febe2a8e1f978fa8dd(0x22a7);
                string subkey = this.cff92a148eccb9b024c91f083c207aecb + text3;
                key = FileExtensionInfo.c9d74ceff2b19d6749de77f39b66900bd.CreateSubKey(subkey);
                if (key != null)
                {
                    goto Label_004C;
                }
Label_0029:
                switch (5)
                {
                case 0:
                    goto Label_0029;

                default:
                    if (1 == 0)
                    {
                    }
                    throw new InvalidOperationException(c0bbbfa1d3eac60244be07cb7c7058941.c47c07faa149539febe2a8e1f978fa8dd(0x222d));
                }
Label_004C:
                key.SetValue(string.Empty, cfb2f2abc8e61232ab9b3563c7fc6acf6);
                FileExtensionInfo.cce833f06f74ce72fd6c2fddde19f6f65();
            }
            catch
            {
            }
            finally
            {
                if (key == null)
                {
                    goto Label_0077;
                }
Label_0067:
                switch (1)
                {
                case 0:
                    goto Label_0067;

                default:
                    key.Close();
                    break;
                }
                Label_0077 :;
            }
        }
예제 #4
0
        private void cea6b3d9bd4615e79a61167791b7334dd(ProgIDVerb[] c6192f61498f55c407944df240be561fe)
        {
            RegistryKey key = FileExtensionInfo.c9d74ceff2b19d6749de77f39b66900bd.OpenSubKey(this.cff92a148eccb9b024c91f083c207aecb, true);

            if (key != null)
            {
                try
                {
                    string text10 = c0bbbfa1d3eac60244be07cb7c7058941.c47c07faa149539febe2a8e1f978fa8dd(0x22c0);
                    key.DeleteSubKeyTree(text10);
                }
                catch
                {
                }
                string      subkey = c0bbbfa1d3eac60244be07cb7c7058941.c47c07faa149539febe2a8e1f978fa8dd(0x22c0);
                RegistryKey key2   = key.CreateSubKey(subkey);
                foreach (ProgIDVerb verb in c6192f61498f55c407944df240be561fe)
                {
                    if (verb.Caption == null)
                    {
                        continue;
                    }
Label_0081:
                    switch (3)
                    {
                    case 0:
                        goto Label_0081;

                    default:
                    {
                        string caption = verb.Caption;
                        if (caption.Length == 0)
                        {
                            continue;
                        }
                        break;
                    }
                    }
Label_009C:
                    switch (5)
                    {
                    case 0:
                        goto Label_009C;

                    default:
                    {
                        RegistryKey key3    = key2.CreateSubKey(verb.Caption.ToLower());
                        string      text15  = c0bbbfa1d3eac60244be07cb7c7058941.c47c07faa149539febe2a8e1f978fa8dd(0x22cb);
                        RegistryKey key4    = key3.CreateSubKey(text15);
                        string      command = verb.Command;
                        key4.SetValue(string.Empty, command);
                        key4.Close();
                        key3.Close();
                        break;
                    }
                    }
                }
Label_0104:
                switch (7)
                {
                case 0:
                    goto Label_0104;
                }
                FileExtensionInfo.cce833f06f74ce72fd6c2fddde19f6f65();
                return;
            }
Label_0017:
            switch (3)
            {
            case 0:
                goto Label_0017;
            }
            if (1 == 0)
            {
            }
            string message = c0bbbfa1d3eac60244be07cb7c7058941.c47c07faa149539febe2a8e1f978fa8dd(0x222d);

            throw new InvalidOperationException(message);
        }