[DllImport("Advapi32.dll", SetLastError = true)][return: MarshalAs(UnmanagedType.U4)] public static extern uint LSARetrievePrivateData( IntPtr PolicyHandle, ref LSA_UNICODE_STRING KeyName, out IntPtr PrivateData );
Microsoft documentation: Link
Last updated 1 year ago