Administrators Jon Posted June 17, 2011 Administrators Share Posted June 17, 2011 I've written a C# Windows Service and a C# program that runs in normal standard user mode. I need the user program to communicate with the service, then the service does something, and returns the result to the user program. I need to get a rough idea of the APIs/functions I need to research. It will just be local on a machine. I saw this: http://msdn.microsoft.com/en-us/library/system.servicemodel.netnamedpipebinding.aspx - is that on the right track? Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Valik Posted June 17, 2011 Share Posted June 17, 2011 Named pipes are almost always the way to go with IPC. IIRC CreateProcessWithLogonW() uses pipes to communicate with the Secondary Logon service. Or something like that. Link to comment Share on other sites More sharing options...
Administrators Jon Posted June 18, 2011 Author Administrators Share Posted June 18, 2011 There#s native classes in .NET 3.5 to do the named pipes stuff that look perfect for what I want. Cheers. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now