Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public:
[SecurityCriticalAttribute]
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:
© 2017 Microsoft