...
configurePad returns true if a signature device has been found, selection Ok in dialog.
Sample
Code Block | language | csharp|||||
---|---|---|---|---|---|---|
| ||||||
// Search for a Device string padSettings = ""; string cert = ""; // this value is obsolete bool autostartSerching = true; bool showConnectionWinIfAutostart = true; bool readAndSaveInRegistry = false; bool foundPad = SigDev.configurePad(cert, true, autostartSerching, readAndSaveInRegistry, ref padSettings); if (foundPad) { string devicetyp = SigDev.GetDriverString(0); string serial = SigDev.GetDriverString(1); } |
...