Guest User

Untitled

a guest
Apr 22nd, 2016
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.23 KB | None | 0 0
  1. using (var pipe = new NamedPipeClientStream(".", "test", PipeDirection.InOut))
  2.         {
  3.             pipe.Connect();
  4.             pipe.WriteByte(100);
  5.             int x = pipe.ReadByte();
  6.             Console.WriteLine(x);
  7.         }
Add Comment
Please, Sign In to add comment