x86.frmMain.CleanCookie C# (CSharp) Method

CleanCookie() public method

public CleanCookie ( int flag ) : bool
flag int
return bool
        public bool CleanCookie(int flag)
        {
            try
            {
                if (flag == 1)
                {
                    frmMain.ShellExecute(IntPtr.Zero, "open", "rundll32.exe", " InetCpl.cpl,ClearMyTracksByProcess 255", "", frmMain.ShowCommands.SW_HIDE);
                    frmMain.ShellExecute(IntPtr.Zero, "open", "rundll32.exe", " InetCpl.cpl,ClearMyTracksByProcess 2", "", frmMain.ShowCommands.SW_HIDE);
                    frmMain.ShellExecute(IntPtr.Zero, "open", "rundll32.exe", " InetCpl.cpl,ClearMyTracksByProcess 1", "", frmMain.ShowCommands.SW_HIDE);
                }
                else
                    frmMain.RunCmd("CCleaner.exe /auto");
                return true;
            }
            catch
            {
                return false;
            }
        }
        private void button1_Click(object sender, EventArgs e)
frmMain