[DllImport("Credui.dll", SetLastError = true)] public static extern CREDUI_RETURN CredUIConfirmCredentials( string pszTargetName, [MarshalAs(UnmanagedType.Bool)] bool bConfirm );
Microsoft documentation: Link
Last updated 1 year ago