System.IO.Pipes.NamedPipeClientStream.NumberOfServerInstances Property

Gets the number of server instances that share the same pipe name.

Syntax

public int NumberOfServerInstances { get; }

Value

Documentation for this section has not yet been entered.

Remarks

This property returns the number of server instances for the System.IO.Pipes.NamedPipeServerStream object that the current System.IO.Pipes.NamedPipeClientStream object has a handle to or is connected to. If the current System.IO.Pipes.NamedPipeClientStream object has not yet connected to a named pipe server, or if the current pipe handle has not yet been set, this property throws an InvalidOperationException.

Requirements

Namespace: System.IO.Pipes
Assembly: System.Core (in System.Core.dll)
Assembly Versions: 4.0.0.0