Support Center

Setting the ImageMan.Net Twain Registration key in code

Last Updated: Jun 12, 2013 11:43AM EDT
In cases where the standard Visual Studio licensing scheme for components doesn't work, you can set the ImageMan.Net Twain registration key in code.

To do this add this code to your application's startup:

[C#]
TwainControl twain = new TwainControl();
twain.RegistrationKey = "<Your Twain reg key here>";

[VB.Net]
Dim twain As new TwainControl()
twain.RegistrationKey = "<Your Twain reg key here>"

Contact Us