PipeAccessRule Constructor (String, PipeAccessRights, AccessControlType)


Initializes a new instance of the PipeAccessRule class with the specified identity, pipe access rights, and access control type.

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

public PipeAccessRule(
	string identity,
	PipeAccessRights rights,
	AccessControlType type


Type: System.String

The name of the user account.

Type: System.IO.Pipes.PipeAccessRights

One of the PipeAccessRights values that specifies the type of operation associated with the access rule.

Type: System.Security.AccessControl.AccessControlType

One of the AccessControlType values that specifies whether to allow or deny the operation.

Use this constructor to create an access control rule that you can persist using the PipeSecurity class. Access control rules define user account rights that determine which actions are allowed or disallowed on computers that are running Microsoft Windows.

.NET Framework
Available since 3.5
Return to top