Changeset 1699

Show
Ignore:
Timestamp:
07/16/08 16:33:03 (5 months ago)
Author:
bhenderson
Message:

Minor Bug Fix for hard timeout. Added Force closeout of Internet Explorer after time out.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • honeyclient/branches/exp/bhenderson-browser_automation/BrowserAutomation/BrowserAutomation.csproj

    r1698 r1699  
    5252  </ItemGroup> 
    5353  <ItemGroup> 
    54     <COMReference Include="MOZILLACONTROLLib"> 
    55       <Guid>{1339B53E-3453-11D2-93B9-000000000000}</Guid> 
    56       <VersionMajor>1</VersionMajor> 
    57       <VersionMinor>0</VersionMinor> 
    58       <Lcid>0</Lcid> 
    59       <WrapperTool>tlbimp</WrapperTool> 
    60       <Isolated>False</Isolated> 
    61     </COMReference> 
    6254    <COMReference Include="SHDocVw"> 
    6355      <Guid>{EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}</Guid> 
  • honeyclient/branches/exp/bhenderson-browser_automation/BrowserAutomation/IE.cs

    r1698 r1699  
    44using System.Text; 
    55using System.Threading; 
     6using System.Diagnostics; 
    67using SHDocVw; 
    78 
     
    2425        private DateTime startTime; 
    2526        private TimeSpan duration; 
     27        private Process[] myOpenIEs; 
    2628 
    2729        /// <summary> 
     
    6567                if(duration.Seconds >= 30) 
    6668                { 
     69                    myOpenIEs = Process.GetProcessesByName("iexplore"); 
     70                    foreach (Process myOpenIE in myOpenIEs) 
     71                    { 
     72                        myOpenIE.Kill(); 
     73                    } 
    6774                    ieThread.Abort(); 
    6875                } 
  • honeyclient/branches/exp/bhenderson-browser_automation/BrowserAutomation/obj/Debug/BrowserAutomation.csproj.FileListAbsolute.txt

    r1698 r1699  
    77D:\Work\HoneyClient\BrowserAutomation\BrowserAutomation\obj\Debug\BrowserAutomation.exe 
    88D:\Work\HoneyClient\BrowserAutomation\BrowserAutomation\obj\Debug\BrowserAutomation.pdb 
    9 D:\Work\HoneyClient\BrowserAutomation\BrowserAutomation\obj\Debug\Interop.MOZILLACONTROLLib.dll 
    10 D:\Work\HoneyClient\BrowserAutomation\BrowserAutomation\bin\Debug\Interop.MOZILLACONTROLLib.dll