Click here to Skip to main content
16,020,347 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have seen this done before in a download manager but searched and couldn't get how it is done.
How can I detect a browser is about to start downloading, get the URL from it and stop it from continuing? In Win32 C++ please.
Posted

1 solution

Hi,

well I would recomend to use WinPCap library. It is a networking library that will help you sniff the network traffic. You will register to OS, so that you will receive notification about every incoming/outgoing packet and its conent. Then you will just filter out those packet that you want and examin its content.

Hope this helps.

Best regards,
J.K.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900