Click here to Skip to main content
15,915,785 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Exception Line Number at runtime Pin
DavidNohejl17-Oct-07 23:19
DavidNohejl17-Oct-07 23:19 
GeneralRe: Exception Line Number at runtime Pin
Michael Sterk17-Oct-07 23:22
Michael Sterk17-Oct-07 23:22 
GeneralRe: Exception Line Number at runtime Pin
lmoelleb17-Oct-07 23:36
lmoelleb17-Oct-07 23:36 
QuestionCould not find the text file in window service Pin
sabby200617-Oct-07 18:28
sabby200617-Oct-07 18:28 
AnswerRe: Could not find the text file in window service Pin
il_masacratore17-Oct-07 22:37
il_masacratore17-Oct-07 22:37 
GeneralRe: Could not find the text file in window service Pin
sabby200617-Oct-07 23:09
sabby200617-Oct-07 23:09 
Questionintercepting network traffic of a process Pin
prattel17-Oct-07 13:59
prattel17-Oct-07 13:59 
AnswerRe: intercepting network traffic of a process Pin
Dave Kreskowiak17-Oct-07 14:09
mveDave Kreskowiak17-Oct-07 14:09 
prattel wrote:
is there any way to intercept network traffic of a given program


Yes, it's called a proxy server. This application would have to connect to the database through the proxy.


prattel wrote:
manipulate and then continue sending the data to the "real" destination?


It's possible, but hardly practical.


prattel wrote:
The programs "freecap" and "sockscap" do something like that, but sadly only support socks proxies


They do packet capture using a driver inserted into the network stack. This is something that you can not write in C#.


prattel wrote:
and I need a much simpler thing anyway


What you want to do is not simple on any level.



prattel wrote:
If anything like that exists in the .NET Framework I'd love to get a pointer to related APIs.


There is nothing in the .NET BCL that can do what you want. This is a very specialized app you want and it's FAR from easy to write. If your application can use a proxy server, writing the proxy is about as easy as it's going to get, and that's by no means an easy application to write.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: intercepting network traffic of a process Pin
prattel17-Oct-07 14:21
prattel17-Oct-07 14:21 
QuestionComboBox issues Pin
tuga-x17-Oct-07 1:24
tuga-x17-Oct-07 1:24 
AnswerRe: ComboBox issues Pin
Luc Pattyn17-Oct-07 2:48
sitebuilderLuc Pattyn17-Oct-07 2:48 
GeneralRe: ComboBox issues Pin
tuga-x17-Oct-07 2:57
tuga-x17-Oct-07 2:57 
GeneralRe: ComboBox issues Pin
Luc Pattyn17-Oct-07 3:13
sitebuilderLuc Pattyn17-Oct-07 3:13 
GeneralRe: ComboBox issues Pin
tuga-x17-Oct-07 3:45
tuga-x17-Oct-07 3:45 
GeneralRe: ComboBox issues Pin
Luc Pattyn17-Oct-07 14:53
sitebuilderLuc Pattyn17-Oct-07 14:53 
GeneralRe: ComboBox issues Pin
tuga-x17-Oct-07 23:02
tuga-x17-Oct-07 23:02 
GeneralRe: ComboBox issues Pin
Luc Pattyn18-Oct-07 2:52
sitebuilderLuc Pattyn18-Oct-07 2:52 
GeneralRe: ComboBox issues Pin
tuga-x18-Oct-07 2:57
tuga-x18-Oct-07 2:57 
GeneralRe: ComboBox issues Pin
Patrick Etc.18-Oct-07 9:16
Patrick Etc.18-Oct-07 9:16 
GeneralRe: ComboBox issues Pin
Luc Pattyn18-Oct-07 9:42
sitebuilderLuc Pattyn18-Oct-07 9:42 
GeneralRe: ComboBox issues Pin
Patrick Etc.18-Oct-07 9:56
Patrick Etc.18-Oct-07 9:56 
GeneralRe: ComboBox issues Pin
Luc Pattyn18-Oct-07 10:41
sitebuilderLuc Pattyn18-Oct-07 10:41 
GeneralRe: ComboBox issues Pin
tuga-x18-Oct-07 22:19
tuga-x18-Oct-07 22:19 
QuestionValueType vs Reference Pin
rtalan17-Oct-07 0:16
rtalan17-Oct-07 0:16 
AnswerRe: ValueType vs Reference Pin
Robert Rohde17-Oct-07 0:27
Robert Rohde17-Oct-07 0:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.