System.Security.AccessControl.ObjectSecurity.GetSecurityDescriptorBinaryForm C# (CSharp) Method

GetSecurityDescriptorBinaryForm() public method

public GetSecurityDescriptorBinaryForm ( ) : byte[]
return byte[]
        public byte[] GetSecurityDescriptorBinaryForm() { throw null; }
        public string GetSecurityDescriptorSddlForm(System.Security.AccessControl.AccessControlSections includeSections) { throw null; }

Usage Example

Ejemplo n.º 1
0
 public NativeSecurityAttributes(ObjectSecurity managedSecurityObject, bool inheritHandle)
 {
   length = Marshal.SizeOf(typeof(NativeSecurityAttributes));
   byte[] binarySecurityDescriptor = managedSecurityObject.GetSecurityDescriptorBinaryForm();
   securityDescriptor = Marshal.AllocHGlobal(binarySecurityDescriptor.Length);
   Marshal.Copy(binarySecurityDescriptor, 0, securityDescriptor, binarySecurityDescriptor.Length);
   this.inheritHandle = inheritHandle;
 }
All Usage Examples Of System.Security.AccessControl.ObjectSecurity::GetSecurityDescriptorBinaryForm