Skip to end of metadata
Go to start of metadata

Declaration

Delphi

procedure OnGetDeviceCertificate(out Certificate: OleVariant);

ActiveX

HRESULT OnGetDeviceCertificate([out] VARIANT* Certificate);

 

Description

This function should read the device certificate from the device driver and return it to the API.

Samples:

C#
void axSignApi4_OnGetDeviceCertificate(object sender, IStepOverSignatureAPIv4Events_OnGetDeviceCertificateEvent e)
{
    e.certificate = SigDev.GetDeviceCertificate();
}
VB.net
Private Sub signapi4_OnGetDeviceCertificate(ByVal Certificate As Object)
        Certificate = mSignaturDevice.GetDeviceCertificate
End Sub
Delphi
procedure TForm1.SignApiReadHighResBitmap(Sender: TObject; TypeOfPic: Integer; out HighResBitmap: OleVariant);
begin 
	HighResBitmap := StepOverSignatureDevice1.ReadHighResBitmap(TypeOfPic);
end;
VB6
Private Sub signapi4_OnGetDeviceCertificate(Certificate As Variant)
    Certificate = sigdev.GetDeviceCertificate
End Sub

 

 

 

 

 

 

 

  • No labels