If you want to get traffic on your interface you have to put it into the promiscuous mode which is what you do when you're trying to create a sniffer.. Check this links, I've listed several articles that show you how to do this: http://www.codeproject.com/script/Forums/View.aspx?fid=1649&select=2448926&fr=26#xx2448926xx[^] After you have a sniffer, you just have to filter the data.. ICMP and stuff like that. But that should be quite easy.
Laubi
Posts
-
How Pinged me??? -
Monitoring Internet TrafficThere is a nice site called Codeproject where you find a lot of interesting articles ;) Here are some articles: http://www.codeproject.com/KB/IP/NDISmonitor.aspx[^] http://www.codeproject.com/KB/IP/hssniffer.aspx[^] http://www.codeproject.com/KB/IP/CSNetworkSniffer.aspx[^] http://www.codeproject.com/KB/IP/firewall_sniffer.aspx[^] http://www.codeproject.com/KB/applications/Sniffer.aspx[^] http://www.codeproject.com/KB/winsdk/Sniffer.aspx[^] http://www.codeproject.com/KB/IP/sniffer.aspx[^]
-
USB Port Communication using C#Did you check this library: http://www.icsharpcode.net/OpenSource/SharpUSBLib/default.aspx[^]
-
Dialing a modem from c#Take at loot at this link: http://www.codeproject.com/KB/IP/#Internet%20&%20Network%20-%20Dialup[^] There you find several articles about dialing..
-
E-mail ErrorI guess you've already tried to disable your anti-virus software, didn't you? Just to be sure what causes the problem...
-
call c# class from Java using JNIeven if it's the wrong forum.. I don't think JNI is the right choice as JNI calls simple C function and C# is even if its name has only one additional letter quite a bit different. You would have to initialize your .NET Runtime on your own (mscoree etc.). I have some doubts that this is the solution you're looking for. But you might want to check out JNBridgePro!
-
Programmatically access Start -> RunProcess process = new Process(); process.StartInfo.FileName = "notepad.exe"; process.Start();
-
change of iconopen windows explorer - tools - folder options - file types.. select the file extension and press advanced - select icon.
-
change of iconyou can only replace the icon for all batch files! a bat file can't contain any kind of resources.. bat files have only very limited features!
-
web services questionWell yeah I had to deal with that several times but never had a problem with that.. Look at that simple code written in vbscript
Dim SoapClient Set SoapClient = CreateObject("MSSOAP.SoapClient") Call SoapClient.mssoapinit("http://127.0.0.1/bla?wsdl", "WebService", "SimpleWebServiceSoapPort")
there you can see that even when you use MSSOAP you're able to pass the name of the service, so no big deal unless you're using a client library that doesn't support passing the name of the service... I have worked with a lot of different soap clients and never seen one that doesn't allow me to pass the servicename... Where exactly do you see the problem? -
Not having win32_product installedthis page mentions something about availability: http://msdn2.microsoft.com/en-us/library/aa394378.aspx did you check that?
-
web services questionno not really. what you describe is what you'll usually find but it is actually possible to have more than one service within one wsdl file!
-
how to select an existing TreeNodeThis is easy, the property SelectedNode (TreeView) can not only be read but also be written... treeView1.SelectedNode = treeView1.Nodes[213]; //treeView1.Focus();
-
screenshot using windows servicehas your service the permission to access the desktop? by default a server can't interact with the gui!
-
Informations regarding software installed in a systemuse wmi and select what you need from Win32_Product! if you're not used to wmi, google knows a lot about it..
-
Connecting Sql Server Express in the Networkas far as I know the express edition doesn't not listen to network connections by default. you might want to try this: sql manager / server network configuration / protocols / enable tcp..
-
how to make T9 dictionary in c#?Check this out: http://www.t9.com/[^]. It shows you how a T9 dictionary works on a mobile phone..
-
how to make T9 dictionary in c#?May I ask why? I guess your computer has just like mine a keyboard with a lot of keys so that there is no need for something like T9..? What point am I missing? However implementing such a dictionary is not difficult. You only need a list with the words that can be completed and then you need to check this list whenever you press a new key, starting from the last space, point, comma... I know that this answer doesn't tell you a lot but your question also doesn't tell me a lot about the problem :sigh: Just start with it and come back if you have any specific problems!
-
List of ServersThere are several possible reasons for this.. The database might be hidden - to check open sql manager and select the properties by right clicking on the protocols node of the db instance. Look for "HideInstance".. It could also be that you're running into a latency problem, if your server isn't responding fast enough you won't see it. But it would say this is unlikely on "localhost"! If this still doesn't help, you might want to use a workaround. You could easily enumerate this registry key: SOFTWARE\Microsoft\Microsoft SQL Server - InstalledInstances
-
List of ServersI wrote an answer here: http://www.codeproject.com/script/comments/forums.asp?forumid=1725&select=1820627#xx1820627xx[^] It's not necessary to post something twice...