Click here to Skip to main content
15,898,984 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i am work on network IDS(INTRUSION DETECTION SYSTEM) and part of my project is include host based IDS(LIKE SNORT) and run it inside my project form ... so how can i run snort.exe inside c# form?? (am using visual studio 2010).


with my respect ...
Posted
Updated 4-Oct-11 6:56am
v2
Comments
Oshtri Deka 4-Oct-11 10:35am    
Please edit your question. It's barely readable.
BobJanova 4-Oct-11 11:02am    
1 for grammar ... as it's so bad it's not clear what you're actually asking

 
Share this answer
 
Comments
Simon Bang Terkildsen 4-Oct-11 13:29pm    
My 5, though I fear the OP might need some communication between the two applications, I've suggested a few ways to do this.
If I understand the question correctly, then luisnike19 provided you with the answer. Process.Start will execute your execute, if you require communition between your application and the one you just started it becomes more tricky and you'll have to implement some form of IPC, you could use WCF, Sockets, .NET Remoting(legacy though, so probably not).. or you could write to standard input and read from standard output to do the communication, however I don't like that technique.

If you need communication between the two applications and can't find something yourself through google or CP leave a comment and I'll give you a few articles.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900