If you don't have to use Twain, the easiest and painfree way is to use WIA. There is a good tutorial here. Also have a look at the coding4fun site because I am sure someone has an implementation that does what you are attempting.
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
If you don't have to use Twain, the easiest and painfree way is to use WIA. There is a good tutorial here. Also have a look at the coding4fun site because I am sure someone has an implementation that does what you are attempting.