ESign
Tuesday, July 28, 2020 at 11:37pmIs it possible to Save the signature to database.? My requirement is that in one of the webpage(MVC C#) i need to sign and save the signature to database.
OneSpan Introduces DigipassONE, Bringing a Unified Platform Approach to Authentication Modernization
A new authentication platform helps financial institutions support diverse customer authentication preferences while modernizing at their own pace Learn More
Is it possible to Save the signature to database.? My requirement is that in one of the webpage(MVC C#) i need to sign and save the signature to database.
Reply to: ESign
Wednesday, July 29, 2020 at 08:41amHi Anvesh,
Do you mean to extract the signed handdrawn signature and saved in image? If that's the case, there's a SDK function allowing you to do so, you need the package ID as well as the role ID to identify which signature to download:
string packageId = "";
string roleId = "";
DownloadedFile signerImage = eslClient.SignatureImageService.GetSignatureImageForPackageRole(new PackageId(packageId ), roleId , SignatureImageFormat.JPG);
byte[] signerImageByte = senderImage.Contents;
try
{
File.WriteAllBytes(".../signerImage.png", signerImageByte);
}
catch (Exception e)
{
Debug.WriteLine(e);
}
Duo
Reply to: ESign
Wednesday, July 29, 2020 at 08:47amThanks for the response Duo. This is exactly what I wanted.