This documentation is archived and is not being maintained.

ObjectSecurity.GetSecurityDescriptorBinaryForm Method

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

Namespace: System.Security.AccessControl
Assembly: mscorlib (in mscorlib.dll)

public byte[] GetSecurityDescriptorBinaryForm ()
public byte[] GetSecurityDescriptorBinaryForm ()
public function GetSecurityDescriptorBinaryForm () : byte[]
Not applicable.

Return Value

An array of byte values that represents the security descriptor for this ObjectSecurity object. This method returns a null reference (Nothing in Visual Basic) if there is no security information in this ObjectSecurity object.

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

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: