AnonymousPipeServerStream.ClientSafePipeHandle Property

Definition

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

public:
 property Microsoft::Win32::SafeHandles::SafePipeHandle ^ ClientSafePipeHandle { Microsoft::Win32::SafeHandles::SafePipeHandle ^ get(); };
public Microsoft.Win32.SafeHandles.SafePipeHandle ClientSafePipeHandle { get; }
public Microsoft.Win32.SafeHandles.SafePipeHandle ClientSafePipeHandle { [System.Security.SecurityCritical] get; }
member this.ClientSafePipeHandle : Microsoft.Win32.SafeHandles.SafePipeHandle
[<get: System.Security.SecurityCritical>]
member this.ClientSafePipeHandle : Microsoft.Win32.SafeHandles.SafePipeHandle
Public ReadOnly Property ClientSafePipeHandle As SafePipeHandle

Property Value

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

Attributes

Remarks

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.

Applies to