25 references to BinaryLength
System.DirectoryServices.AccountManagement (8)
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (1)
1592byte[] sid = new byte[SidObj.BinaryLength];
System\DirectoryServices\AccountManagement\AD\ADStoreCtx_LoadStore.cs (2)
516byte[] sidb = new byte[sid.BinaryLength]; 567sidb = new byte[sid.BinaryLength];
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx.cs (2)
658byte[] SidB = new byte[principalSid.BinaryLength]; 727byte[] Sidb = new byte[Sid.BinaryLength];
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx_LoadStore.cs (2)
342byte[] sid = new byte[sidObj.BinaryLength]; 396sid = new byte[sidObj.BinaryLength];
System\DirectoryServices\AccountManagement\Utils.cs (1)
70byte[] sidB = new byte[sid.BinaryLength];
System.Security.AccessControl (13)
System\Security\AccessControl\ACE.cs (7)
986return (HeaderLength + AccessMaskLength + AceTypeLength + SecurityIdentifier.BinaryLength); 1485int opaqueLength = aceLength - HeaderLength - AccessMaskLength - (byte)sid.BinaryLength; 1518return (HeaderLength + AccessMaskLength + SecurityIdentifier.BinaryLength + OpaqueLength); 1571offsetLocal += SecurityIdentifier.BinaryLength; 1938int opaqueLength = (aceLength - HeaderLength - AccessMaskLength - ObjectFlagsLength - (byte)sid.BinaryLength); 2044return (HeaderLength + AccessMaskLength + ObjectFlagsLength + GuidLengths + SecurityIdentifier.BinaryLength + OpaqueLength); 2123offsetLocal += SecurityIdentifier.BinaryLength;
System\Security\AccessControl\SecurityDescriptor.cs (4)
173result += Owner.BinaryLength; 178result += Group.BinaryLength; 322offset += Owner.BinaryLength; 341offset += Group.BinaryLength;
System\Security\AccessControl\Win32.cs (2)
226Length = owner.BinaryLength; 233Length = group.BinaryLength;
System.Security.Principal.Windows (4)
System\Security\Principal\Win32.cs (4)
183byte[] BinaryForm1 = new byte[sid1.BinaryLength]; 186byte[] BinaryForm2 = new byte[sid2.BinaryLength]; 206byte[] BinaryForm = new byte[sid.BinaryLength]; 235byte[] BinaryForm = new byte[sid.BinaryLength];