开发者

what .NET class to proxy HTTP requests through? (and keep track of bandwidth used)

开发者 https://www.devze.com 2022-12-25 20:34 出处:网络
What .NET class/methods could I use to write a simple HTTP(s) proxy that would run on my PC that would:

What .NET class/methods could I use to write a simple HTTP(s) proxy that would run on my PC that would:

  • Proxy all HTTP(S) requests through it
  • Let me get bandwidth used per proxy'ed request (e.g. content length)
  • Let me get requesting application or process name per prox开发者_JAVA技巧ied request
  • Ability to proxy/stream the requests on through to my normal proxy server (server name, port, username, password)


You want to do this on the client side, right?

I think that WebRequest is probably what you are looking for. As far as how to hook it in to the OS... that's a different question.

0

精彩评论

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