Available in the LEADTOOLS Imaging toolkit.
SelectedSourceName Example for Visual Basic
Dim RasterTwain As LEADRasterTwain MsgBox "The current selected source is: " + RasterTwain.SelectedSourceName