So I have some server broadcasting live data onto Named Pipe - \\.\pipe\TestChannel (from VLC for example). I want to read it from now some N seconds and save that readen data to some.file. How to do such thing using C# .Net3.5? (and BTW I wonder about if it is easier to do it from .net4) Could you please provide some simple code example?
views:
32answers:
1
+1
A:
You can use a NamedPipeClientStream to open the pipe, and read in your data. Just read in the data using standard Stream functions (just like a file), and reroute to the other file as needed.
Reed Copsey
2010-07-06 18:31:13