System.IO.Pipes.AnonymousPipeServerStream.GetClientHandleAsString Method

Gets the connected System.IO.Pipes.AnonymousPipeClientStream object's handle as a string.

Syntax

public string GetClientHandleAsString ()

Returns

A string that represents the connected System.IO.Pipes.AnonymousPipeClientStream object's handle.

Remarks

The AnonymousPipeServerStream.DisposeLocalCopyOfClientHandle method should be called after a client handle has been passed to a client process. If this method is not called, the System.IO.Pipes.AnonymousPipeServerStream object will not receive notice when the client disposes of its System.IO.Pipes.PipeStream object.

Requirements

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