开发者

how do I detect download in progress using c#?

how d开发者_如何学编程o I detect download in progress (in any application such as download in IE or firefox or download manager ) using c#?


That's pretty much impossible IMHO.


The best you could hope for is some sort of packet monitor that ties the packets to a particular process ID. Even given that, you wouldn't be very well able to track an individual download, but rather the entire throughput of a single process (each packet of data coming in or out).


Using HTTPAnalyzer, you should be able to infer this to certain extent - but this will be a manual process. May be u can use some some of its exposed API to automate.
BTW why do you need this - is there a practical scenario where this is really required?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜