reggetkeysecurity (advapi32)
Last changed: -77.125.97.109

.
Summary
Retrieves a copy of the security descriptor protecting the specified open registry key.

C# Signature:

        [DllImport("Advapi32.dll", SetLastError = true)]
        internal static extern Int32 RegGetKeySecurity(
        IntPtr hKey,
        SECURITY_INFORMATION SecurityInformation,
        out SECURITY_DESCRIPTOR pSecurityDescriptor,
        ref UInt32 lpcbSecurityDescriptor);

VB Signature:

Declare Function RegGetKeySecurity Lib "advapi32.dll" (TODO) As TODO

User-Defined Types:

SECURITY_INFORMATION

SECURITY_DESCRIPTOR

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation