예제 #1
0
        // Token: 0x060000E3 RID: 227 RVA: 0x00002820 File Offset: 0x00000A20
        public void Refresh()
        {
            this.m_WinInetPass.Clear();
            CItems citems = this.m_PStore.get_Items(this.guidWinInet, this.subguidWinInet);

            checked
            {
                if (citems != null)
                {
                    int num = 0;
                    try
                    {
                        foreach (object obj in citems)
                        {
                            CItem citem = (CItem)obj;
                            this.AddPasswdInfo(citem.Name);
                            num++;
                        }
                    }
                    finally
                    {
                        IEnumerator enumerator;
                        if (enumerator is IDisposable)
                        {
                            (enumerator as IDisposable).Dispose();
                        }
                    }
                }
            }
        }
예제 #2
0
        // Token: 0x06000125 RID: 293 RVA: 0x0000412C File Offset: 0x0000232C
        public void Refresh()
        {
            this.m_IEPass.Clear();
            CItems citems = this.m_PStore.get_Items(this.guidIE, this.guidIE);

            checked
            {
                if (citems != null)
                {
                    int num = 0;
                    try
                    {
                        foreach (object obj in citems)
                        {
                            CItem citem = (CItem)obj;
                            if (num % 2 == 0)
                            {
                                this.AddPasswdInfo(Strings.Mid(citem.Name, 1, Strings.InStr(citem.Name, ":String", CompareMethod.Binary) - 1));
                            }
                            num++;
                        }
                    }
                    finally
                    {
                        IEnumerator enumerator;
                        if (enumerator is IDisposable)
                        {
                            (enumerator as IDisposable).Dispose();
                        }
                    }
                }
            }
        }