AnonymousPipeServerStream::ClientSafePipeHandle Property

 

Gets the safe handle for the AnonymousPipeClientStream object that is currently connected to the AnonymousPipeServerStream object.

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

public:
property SafePipeHandle^ ClientSafePipeHandle {
	[SecurityCriticalAttribute]
	SafePipeHandle^ get();
}

Property Value

Type: Microsoft.Win32.SafeHandles::SafePipeHandle^

A handle for the AnonymousPipeClientStream object that is currently connected to the AnonymousPipeServerStream object.

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

.NET Framework
Available since 3.5
Return to top
Show: