VintaSoft Twain .NET SDK Discussions

Questions, comments and suggestions concerning VintaSoft Twain .NET SDK.

Board index < VintaSoft Twain < VintaSoft Twain .NET SDK Discussions

We are migrating to new forums engine, no new registration or posting currently available. TIA for your patience.

Logger.Filename is read-only



Logger.Filename is read-only

Post by pwsmietan »

I'm trying to assign a custom filename for debug information and I get an error saying Twain.DeviceManagerLogger.Filename cannot be assigned to (read-only). It used to work in previous versions. I am compiling under VS 2010 with the .NET 4 libraries.

thanks!

-Paul


Re: Logger.Filename is read-only

Post by Alex »

Hi Paul,

Please use this code:
deviceManager.Logger = new DeviceManagerLogger(@"d:\vstwain.log", true);
Best regards, Alexander


Page 1 from 1: 1