private void RefreshHsm() { _hsmPresent = HsmRng.IsHsmPresent(); btnViewCert.InvokeIfNeeded(() => lblHSMPresent.Text = "HSM present: " + (_hsmPresent ? "Yes" : "No")); }
private void RefreshHSM() { _hsmPresent = HsmRng.IsHsmPresent(); specialYubiHsm.InvokeIfNeeded(() => specialYubiHsm.Text = _hsmPresent ? "Yes" : "No"); }