Communication between processes in Windows [closed] - c#

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.
What project (C#) type would you suggest for this situation?
Having one application for communicating with distance server from one side (I have API for communication with that server) and communication with lots of different applications (call them clients) on user computers.
I need to have only one server connection in any giving moment, but every client can have his requests separately.
Can clients communicate with server using some kind of Objects (.net objects)?
My idea is to make windows service, but I not sure is this a good approach?

You can use WCF InProc for inter process communication.
Check the tutorial.
Also ZeroMQ can be used as an alternative for InProc communication.

Related

Using SharpPcap for blocking network [closed]

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.

How to comunicate between client and server using TCP? send commands/receive data? [closed]

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.
How can I send commands to the client over the tcp from the server .
How can I receive some information about the client's host when he's connected to server?
For example : Open apache,cmd etc..
Atm the only code I have made is for connecting to the server but I'm not sure how to send some data to the client for executing it.
Could someone help me with this?a tutorial or explanation?
What you are talking about doing is going to require some sort of server/client setup. You will need to write an application that will listen on the TCP ports and take in the commands that are being sent. It is best to use a specific port and just listen to that port for incoming commands.
My question is this though, why do you need to open a cmd on a remote machine? I think most operating systems will disallow this and there does not seem to be much use for this above causing havoc.

USB Dongle Access in C# [closed]

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.

C# window application [closed]

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

c# how do i programmatically create a replica [closed]

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 winform app that runs in two differen pc's
I want to create a replica and get the changes over the internet
How can i do that?
& how can I create replica and sync it using C#?
any ideas will be appreciated
I assume that you are talking about replicating changes in one ms-access "database" such that two instances stay in sync, As such, you'd be better off abandoning ms-access and upscaling to a single centralised database.
this sounds like a bad idea all around.
The common patterns apply;
use GUID id's,
send offline datasets,
cross fingers and look for a job that allows you to use other free tools, suited for the job http://www.microsoft.com/sqlserver/en/us/editions/express.aspx
Avoid conflict resolution (don't edit the same entities on both ends)
Edit
PS. after visiting hamsaweb.net; if you need this to be web deployable on a shared host:
How to deploy SQL CE 4 CTP to shared hosting?

Categories