109 if (binaryForm ==
null)
117 if (binaryForm.Length -
offset < 20)
125 byte resourceManagerControl = binaryForm[
offset + 1];
147 if (sddlForm ==
null)
152 uint resultSdLength = 0u;
159 switch (lastWin32Error)
176 array =
new byte[resultSdLength];
static void FreeHGlobal(IntPtr hglobal)
static int GetLastWin32Error()
static void Copy(int[] source, int startIndex, IntPtr destination, int length)
static string AccessControl_InvalidSecurityDescriptorRevision
static string AccessControl_UnexpectedError
static string AccessControl_InvalidSidInSDDLString
static string Format(string resourceFormat, object p1)
static string AccessControl_InvalidSecurityDescriptorSelfRelativeForm
static string ArgumentOutOfRange_ArrayTooSmall
static string ArgumentException_InvalidSDSddlForm
static string ArgumentOutOfRange_NeedNonNegNum
static int UnmarshalInt(byte[] binaryForm, int offset)
RawSecurityDescriptor(ControlFlags flags, SecurityIdentifier? owner, SecurityIdentifier? group, RawAcl? systemAcl, RawAcl? discretionaryAcl)
RawSecurityDescriptor(byte[] binaryForm, int offset)
override? SecurityIdentifier Group
override? GenericAcl GenericSacl
override ControlFlags ControlFlags
void CreateFromParts(ControlFlags flags, SecurityIdentifier owner, SecurityIdentifier group, RawAcl systemAcl, RawAcl discretionaryAcl)
override? GenericAcl GenericDacl
SecurityIdentifier _group
SecurityIdentifier _owner
RawSecurityDescriptor(string sddlForm)
byte ResourceManagerControl
static byte[] BinaryFormFromSddlForm(string sddlForm)
void SetFlags(ControlFlags flags)
override? SecurityIdentifier Owner
static readonly IntPtr Zero