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?
So I have some server broadcasting live data onto Named Pipe – \\.\pipe\TestChannel (from
Share
You can use a
NamedPipeClientStreamto 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.