/// <summary>
 /// Creates a new listener with the specified name.
 /// </summary>
 /// <param name="pipeName">The pipe name omiting the leading <c>\\.\pipe\</c></param>
 public NamedPipeListener(string pipeName)
 {
     this.pipeName = NamedPipeHelper.FormatPipeName(pipeName);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Creates a new instance for the specified pipe name.
 /// </summary>
 /// <param name="pipeName">The pipe name omiting the leading <c>\\.\pipe\</c></param>
 public NamedPipeClient(string pipeName)
 {
     this.pipeName = NamedPipeHelper.FormatPipeName(pipeName);
 }