我想在我的電腦中寫一程式(VB),能夠得知是否有新連線(web 站 80 port ),
我查過很多資料,但都沒成功.
取得Cache中的資料也可以!!
但ie ->index.dat 與 netscape->fat.db我都不知道如何取出!!
我有一個客戶想監控他小孩上的網站,所以....救救我,他對我很重要....!!!
他又不想到Temporary Internet Files目錄中查看.....唉!!!!
幫幫我!!!
請教一下,在WinInet API中的函數是否有我適合的???
我測了好多個,但都沒有我預期的資料......不知是語法錯了還是根本就不是我要的.....
如:
Microsoft Win32 Internet Functions
Public Declare Function FindFirstUrlCacheEntry Lib "wininet" _
Alias "FindFirstUrlCacheEntryA" _
(lpszUrlSearchPattern As String, _
lpFirstCacheEntryInfo As CACHE_ENTRY_INFO, _
BufferSize As Long) As Long
Type FILETIME
dwLowDateTime As Long
dwHighDateTime As Long
End Type
Type CACHE_ENTRY_INFO
dwStructSize As Long
lpszSourceUrlName As String
lpszLocalFileName As String
CacheEntryType As Long
dwUseCount As Long
dwHitRate As Long
dwSizeLow As Long
dwSizeHigh As Long
LastModifiedTime As FILETIME
ExpireTime As FILETIME
LastAccessTime As FILETIME
LastSyncTime As FILETIME
lpHeaderInfo As Byte
dwHeaderInfoSize As Long
lpszFileExtension As String
dwReserved As Long
End Type