System.Security.AccessControl.ObjectSecurity.GetSecurityDescriptorBinaryForm Method

Returns an array of byte values that represents the security descriptor information for this System.Security.AccessControl.ObjectSecurity object.

Syntax

public byte[] GetSecurityDescriptorBinaryForm ()

Returns

An array of byte values that represents the security descriptor for this System.Security.AccessControl.ObjectSecurity object. This method returns null if there is no security information in this System.Security.AccessControl.ObjectSecurity object.

Remarks

This method returns the security descriptor information currently in memory. It does not retrieve information saved in permanent storage.

Requirements

Namespace: System.Security.AccessControl
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0