1

I want to make a program in either C# or Java that can read all of the network data sent to another program I have open. I want to then save this in a log file. Can anyone give me some suggestions as to how I can achieve this? (I would prefer to use C#)

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129

1 Answers1

1

You can create an Http Proxy to capture the network traffic (assuming it's http), just as the popular tool Fiddler does. Take a look here: Any resource/codes on how fiddler works?

Community
  • 1
  • 1
Philip Pittle
  • 11,821
  • 8
  • 59
  • 123