Writing to an existing Named Pipe

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to use .NET to "tap into" a named pipe created by a non .NET 3rd
party application. Specifically, the application is a table loading utility.
It opens a named pipe and waits for input.
Does anybody know how I can write to the named pipe from a .NET program. I
have tried using the traditional file access methods, and it appears that
pipes have a problem with file streams. I have tried API calls, but since I
do not have the handle of the pipe, I am having a hard time communicating.

Has anyone accomplished this? HELP!

Thanks!
 
Hi,

IIRC .NET do not have support for named piped, you will have to P/Invoke
the API, I have a link in the office and will send it to you tomorrow(
monday ) morning. you could do a search in google though.


cheers,
 
Back
Top