CryptSetKeyIdentifierProperty
[DllImport("Crypt32.dll", SetLastError = true)]
public static extern bool CryptSetKeyIdentifierProperty(
IntPtr pKeyIdentifierBlob,
uint dwPropId,
uint dwFlags,
byte[] pvData
);
Microsoft documentation: Link
Last updated