mrhicks
January 6th, 2003, 06:59 PM
Hello all,
For my first real C# program I would like to create a Network usage and monitor program. Something similar to AnalogX's NetStat Live. The program shows the current data throughput and a running total of the network connect. Once this is done I would like to add additional logic to log all network traffic ( the process, port, destination ). Then eventually have the a mini firewall type program that I can set up rules and allow access depending upon those rules.
So my question is this possible with C# and the CLR? I would eventually like to have something like
+-----+ +-----------+ +--------------------------------+
| NIC | <-> | MyProgram | <-> | Process Wanting Network Access |
+-----+ +-----------+ +--------------------------------+
Do I have to create a driver for this? is there any sample/example code? Are there any books on this type of programming? I have found some networking programming books, but it really doesn't go into this type of programming.
After installing Output Firewall I was impressed on how easy it is to view, configure, maintain and set up rules that I would like to try to make something that is freeware or open source. I guess other question would be, would this be better to code in C++ than C#? Any thoughts? Thanks for the any help as it is really appreciated.
Mark
For my first real C# program I would like to create a Network usage and monitor program. Something similar to AnalogX's NetStat Live. The program shows the current data throughput and a running total of the network connect. Once this is done I would like to add additional logic to log all network traffic ( the process, port, destination ). Then eventually have the a mini firewall type program that I can set up rules and allow access depending upon those rules.
So my question is this possible with C# and the CLR? I would eventually like to have something like
+-----+ +-----------+ +--------------------------------+
| NIC | <-> | MyProgram | <-> | Process Wanting Network Access |
+-----+ +-----------+ +--------------------------------+
Do I have to create a driver for this? is there any sample/example code? Are there any books on this type of programming? I have found some networking programming books, but it really doesn't go into this type of programming.
After installing Output Firewall I was impressed on how easy it is to view, configure, maintain and set up rules that I would like to try to make something that is freeware or open source. I guess other question would be, would this be better to code in C++ than C#? Any thoughts? Thanks for the any help as it is really appreciated.
Mark