473,594 Members | 2,663 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using Named Pipes ?

Hi All

Im looking for a way use named pipes between a service app and an app run
when a user logs on and be able to pass string based data, im hoping that
the service can contact the app that is running in the user session and tell
it a path of an app to launch as the logged on user. Does anybody know of an
easy way to do this or have any examples i could look at ? Any help is
greatly appreciated

Many thanks
Feb 3 '06 #1
1 1668
Jarrod,
Have you considered using .NET remoting? Especially in .NET 2.0 (VS 2005),
its now easier to secure & encrypt remoting channels.

I understand the new to .NET 2.0 IpcChannel uses Named Pipes "under the
covers".

http://msdn2.microsoft.com/tz3ew9z6.aspx

Unfortunately I don't have specific links to "named pipes" implementations
in .NET 1.x.

--
Hope this helps
Jay [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net
"Jarrod Morrison" <ja*****@ihug.c om.au> wrote in message
news:u3******** ******@TK2MSFTN GP10.phx.gbl...
| Hi All
|
| Im looking for a way use named pipes between a service app and an app run
| when a user logs on and be able to pass string based data, im hoping that
| the service can contact the app that is running in the user session and
tell
| it a path of an app to launch as the logged on user. Does anybody know of
an
| easy way to do this or have any examples i could look at ? Any help is
| greatly appreciated
|
| Many thanks
|
|
Feb 6 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
18123
by: glenn.owens | last post by:
In the process of doing some routine monitoring/clean-up we've discovered that several (many?) users are apparently set to access our SQL Server 2000 database instances via the Named Pipes protocol. In readings and recommendations we've decided that our WAN would be best served if we use the less "chatty" TCP/IP. As such we've also decided to try to enforce this decision to use TCP/IP exclusively using the domain login script used by all...
4
7649
by: Ken Allen | last post by:
Is there any built-in facility for handling named pipes in C#/.Net, or must one use unsafe code to access the WIN32 API directly? There exists some code that uses named pipes heavily and there exists a need for that code to send some information to a new .Net service I am writing. It is a relatively simple matter for the existing code to use a named pipe to send the data, but I can find no references to how I can create the named pipe...
1
4854
by: John Brook | last post by:
Dear All, I am trying to create named pipes using VB.NET and calls to kernel32 as shown on the msdn site. All appears well with the calls and the returned parameters suggests that data has been transfered, that is the number of bytes received / transmitted is as expected but there is no data in the buffers. I have tried all sorts of buffer types byte, string, ..... to no avail.
1
1628
by: motimh | last post by:
I am trying to use named pipes to interprocess communication. My concern is the cpu wait time between them. Can someone show me the code to do this in VBNet? Is there an event that can be associated with the existence of text in the pipe that can fire and hence not use any cpu time? Any help is much appreciated.
1
2121
by: Jarrod Morrison | last post by:
Hello all Ive been trying to get a service app that i run to interact with the logged on user of the machine and so far havent been very successfull and have read that maybe named pipes is the way to go. Im hoping someone has some information and easy to understand examples on named pipes. Basically i need my service app to signal a user app thats running and send basic text to it. Any help is greatly appreciated Thanks
7
7357
by: ahmed.maryam | last post by:
Hi All, I want to set up a named pipe connection between two C# application using visual studio 2005, does anyone know if there are any specific namespaces or system calls that I need to make to access named pipes. Even more important, does the .NET architecture even have support for named pipes? I've looked on MSDN but the only named pipes examples they have are in C++, thanks! ~ Maryam
4
3810
by: kanepart2 | last post by:
I am making a simple program to use display SQL data using C# SqlConnection myConnection = new SqlConnection(@"Trusted_Connection=yes;database=*****database name*****;connection timeout=30"); try { myConnection.Open(); }
3
5031
by: DBC User | last post by:
Hi all, I would like to know is there a way to find out if any named pipes are running in a box. How can I go about doing that? Or is there a way to find out if a particular named pipe already running? Thanks
2
10903
by: simkar | last post by:
Error: provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server SqlException (0x80131904) General Info: Application is on server1(outside the firewall) Database is on server2(inside the firewall) SQL Server 2005 Login is server authentication (Windows and Server Authentication is checked) Remote server is allowed.
0
7954
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7882
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8259
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8377
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8244
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6669
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5836
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3871
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
1487
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.