System.IO.Pipes.NamedPipeServerStream Members

The members of System.IO.Pipes.NamedPipeServerStream are listed below.

See Also: Inherited members from System.IO.Pipes.PipeStream

Public Constructors

Initializes a new instance of the System.IO.Pipes.NamedPipeServerStream class with the specified pipe name.

Initializes a new instance of the System.IO.Pipes.NamedPipeServerStream class with the specified pipe name, pipe direction, maximum number of server instances, transmission mode, pipe options, recommended in and out buffer sizes, pipe security, inheritability mode, and pipe access rights.

Initializes a new instance of the System.IO.Pipes.NamedPipeServerStream class with the specified pipe name and pipe direction.

Initializes a new instance of the System.IO.Pipes.NamedPipeServerStream class with the specified pipe name, pipe direction, and maximum number of server instances.

Initializes a new instance of the System.IO.Pipes.NamedPipeServerStream class from the specified pipe handle.

Initializes a new instance of the System.IO.Pipes.NamedPipeServerStream class with the specified pipe name, pipe direction, maximum number of server instances, and transmission mode.

Initializes a new instance of the System.IO.Pipes.NamedPipeServerStream class with the specified pipe name, pipe direction, maximum number of server instances, transmission mode, and pipe options.

Initializes a new instance of the System.IO.Pipes.NamedPipeServerStream class with the specified pipe name, pipe direction, maximum number of server instances, transmission mode, pipe options, and recommended in and out buffer sizes.

Initializes a new instance of the System.IO.Pipes.NamedPipeServerStream class with the specified pipe name, pipe direction, maximum number of server instances, transmission mode, pipe options, recommended in and out buffer sizes, and pipe security.

Initializes a new instance of the System.IO.Pipes.NamedPipeServerStream class with the specified pipe name, pipe direction, maximum number of server instances, transmission mode, pipe options, recommended in and out buffer sizes, pipe security, and inheritability mode.

Public Fields

const
MaxAllowedServerInstancesint (-1).

Represents the maximum number of server instances that the system resources allow.

Public Methods

BeginWaitForConnection(AsyncCallback, object) : IAsyncResult

Begins an asynchronous operation to wait for a client to connect.

Disconnect()

Disconnects the current connection.

EndWaitForConnection(IAsyncResult)

Ends an asynchronous operation to wait for a client to connect.

GetImpersonationUserName() : string

Gets the user name of the client on the other end of the pipe.

RunAsClient(PipeStreamImpersonationWorker)

Calls a delegate while impersonating the client.

WaitForConnection()

Waits for a client to connect to this System.IO.Pipes.NamedPipeServerStream object.