It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am new to SharpPcap and I am confused. How can I use it for enabling and disabling internet connection using C#, is there any built in functions for this purpose?
Are there any tutorials available for SharpPcap?
SharpPcap, and the lower level libraries libpcap/winpcap, are designed to observe and capture network packets. They don't have the ability to alter packets before they are transmitted, or to block incoming packets (such as a firewall might do).
There may be a way to disable network adapters or networking via c#, a quick serach on google turned up this page, but this functionality isn't something SharpPcap or other capture libraries are involved in.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to write a C# app that when "button X" is clicked "signal X" is transmitted from a USB connected IR transmitter. I've found a couple different IR transmitters at Tira-2.1 and USB-UIRT but I'm not sure how I would go about programming the app to transmit via these devices. To be clear. I want my computer to send the signal based on human interaction with the application. I don't want the computer to act on input from a remote to the computer. I also know that the infrared MCE is not the answer, nor are any of the Microsoft IrDA*** functions, so please don't suggest these as possible answers. Any help is greatly appreciated.
In theory, the IR transmitters needs to provide you a dll that you reference in your project. Also they need to provide some code examples of, wich frequency transmit to do the action X.
Its just theory.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I need to get up and running quickly with a MT TCP server implemented in C#, as a proof of concept. I am looking for an open source implementation of such a multi-threaded TCP server in C#.
I came across this link, but it is almost a decade old!. I can't seem to find anything more recent. Is anyone aware of a more recent implementation of a MT TCP server?
There is a relatively complete sample of a highly scaleable TCP server at http://msdn.microsoft.com/en-us/library/system.net.sockets.socketasynceventargs.aspx.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Can someone please share a library/code to access a USB 3G dongle in C#..?
The library should support connecting/disconnecting and most importantly accessing the byte stream of data at Transport Layer (i.e. TCP/UDP packets with TCP/UDP header).
Thanks
Every USB Dongle is different from each other that's why usually the company/manufacturer who developed your USB Stick will provide API to interact with it.
In our company also we are working on SafeNet/Alladin/Rainbow Parallel and USB Dongles for quite some years. We use them for security of our software. Which ever dongle we use, its the company which provides us its API.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to add a function in my C# program that can synchronize the time between linux and windows, is there any way to do this?
One solution is to run an ntp server on the Linux server (many distributions either include one or make it easy to install), then use some sort of NTP client from within your program. One approach to the .NET side is here, but instead of using a public time server, you would want to use the address of the Linux server.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I am developing c# application, in which this application is act as server.My front end is flex application.when i am testing my application through browser i passed a url as below.
http://serverip:8082/item/detail/2210
As response it was showing not serviced, no valid session.
But when I tried from different machine I got the response back perfectly.
Can any one please tell why it is happening.
its a non standard port, you may have to open the firewall to allow eternal address or subnet to access? A good way I usually use to test this is using Telnet
telnet.exe serverip serverport
Other things could be DNS or Host Headers in IIS
Cheers