[DllImport("Crypt32.dll", SetLastError = true)] public static extern bool CryptUpdateProtectedState( ref IntPtr pOldSid, ref IntPtr pOldProtectData, ref IntPtr pNewSid );
Microsoft documentation: Link
Last updated 4 months ago