AnonymousPipeServerStream.ClientSafePipeHandle Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 SafePipeHandle ClientSafePipeHandle {
	[SecurityCriticalAttribute]
	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: