Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ BinaryLength

int System.Security.AccessControl.GenericSecurityDescriptor.BinaryLength
getinherited

Definition at line 31 of file GenericSecurityDescriptor.cs.

32 {
33 get
34 {
35 int num = 20;
36 if (Owner != null)
37 {
38 num += Owner.BinaryLength;
39 }
40 if (Group != null)
41 {
42 num += Group.BinaryLength;
43 }
44 if ((ControlFlags & ControlFlags.SystemAclPresent) != 0 && GenericSacl != null)
45 {
47 }
48 if ((ControlFlags & ControlFlags.DiscretionaryAclPresent) != 0 && GenericDacl != null && !IsCraftedAefaDacl)
49 {
51 }
52 return num;
53 }
54 }

Referenced by System.Security.AccessControl.GenericSecurityDescriptor.GetBinaryForm(), System.Security.AccessControl.GenericSecurityDescriptor.GetSddlForm(), and System.Security.AccessControl.ObjectSecurity< T >.GetSecurityDescriptorBinaryForm().