PipeStream.GetAccessControl Method ()

 

Gets a PipeSecurity object that encapsulates the access control list (ACL) entries for the pipe described by the current PipeStream object.

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

[SecurityCriticalAttribute]
public PipeSecurity GetAccessControl()

Return Value

Type: System.IO.Pipes.PipeSecurity

A PipeSecurity object that encapsulates the access control list (ACL) entries for the pipe described by the current PipeStream object.

Exception Condition
ObjectDisposedException

The pipe is closed.

UnauthorizedAccessException

The underlying call to set security information failed.

InvalidOperationException

The underlying call to set security information failed.

NotSupportedException

The underlying call to set security information failed.

An access control list (ACL) describes individuals and/or groups that have, or do not have, rights to perform specific actions on a specified file. For more information, see How to: Add or Remove Access Control List Entries.

.NET Framework
Available since 3.5
Return to top
Show: