SelectedSourceName Example for Visual Basic

Dim RasterTwain As New LEADRasterTwain_U
RasterTwain.InitSession hWnd
RasterTwain.SelectSource

MsgBox "The current selected source is: " + RasterTwain.SelectedSourceName