41 references to PipeAccessRights
System.Core (41)
System\IO\Pipes\Pipe.cs (19)
391
HandleInheritability.None, (
PipeAccessRights
)0) { }
397
HandleInheritability.None, (
PipeAccessRights
)0) { }
403
0, 0, null, HandleInheritability.None, (
PipeAccessRights
)0) { }
410
null, HandleInheritability.None, (
PipeAccessRights
)0) { }
417
null, HandleInheritability.None, (
PipeAccessRights
)0) { }
424
null, HandleInheritability.None, (
PipeAccessRights
)0) { }
432
pipeSecurity, HandleInheritability.None, (
PipeAccessRights
)0) { }
440
pipeSecurity, inheritability, (
PipeAccessRights
)0) { }
473
PipeSecurity pipeSecurity, HandleInheritability inheritability,
PipeAccessRights
additionalAccessRights)
497
if ((additionalAccessRights & ~(
PipeAccessRights
.ChangePermissions |
PipeAccessRights
.TakeOwnership |
498
PipeAccessRights
.AccessSystemSecurity)) != 0) {
560
PipeAccessRights
rights, UnsafeNativeMethods.SECURITY_ATTRIBUTES secAttrs) {
1068
public NamedPipeClientStream(String serverName, String pipeName,
PipeAccessRights
desiredAccessRights,
1093
if ((desiredAccessRights & ~(
PipeAccessRights
.FullControl |
PipeAccessRights
.AccessSystemSecurity)) != 0) {
1112
private static PipeDirection DirectionFromRights(
PipeAccessRights
rights) {
1114
if ((rights &
PipeAccessRights
.ReadData) != 0) {
1117
if ((rights &
PipeAccessRights
.WriteData) != 0) {
System\IO\Pipes\PipeSecurity.cs (22)
84
PipeAccessRights
rights,
95
PipeAccessRights
rights,
126
public
PipeAccessRights
PipeAccessRights {
141
internal static int AccessMaskFromRights(
PipeAccessRights
rights, AccessControlType controlType) {
142
if (rights < (
PipeAccessRights
)0 || rights > (
PipeAccessRights
.FullControl |
PipeAccessRights
.AccessSystemSecurity))
146
rights |=
PipeAccessRights
.Synchronize;
149
if (rights !=
PipeAccessRights
.FullControl) {
150
rights &= ~
PipeAccessRights
.Synchronize;
157
internal static
PipeAccessRights
RightsFromAccessMask(int accessMask) {
158
return (
PipeAccessRights
)accessMask;
171
PipeAccessRights
rights,
182
PipeAccessRights
rights,
208
private static int AccessMaskFromRights(
PipeAccessRights
rights) {
209
if (rights < (
PipeAccessRights
)0 || rights > (
PipeAccessRights
.FullControl |
PipeAccessRights
.AccessSystemSecurity)) {
220
public
PipeAccessRights
PipeAccessRights {
285
if (rule.PipeAccessRights !=
PipeAccessRights
.FullControl) {
322
if (rule.PipeAccessRights !=
PipeAccessRights
.FullControl) {
455
return typeof(
PipeAccessRights
);