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
Logger.Filename is read-only
Moderator: Alex
-
- Site Admin
- Posts: 2397
- Joined: Thu Jul 10, 2008 2:21 pm
Re: Logger.Filename is read-only
Hi Paul,
Please use this code:
Best regards, Alexander
Please use this code:
Code: Select all
deviceManager.Logger = new DeviceManagerLogger(@"d:\vstwain.log", true);