Allow selecting/opening a source by id in case of duplicate names.

This commit is contained in:
soukoku
2015-04-21 06:23:33 -04:00
parent 4322aa0b07
commit 59b5437ba0
5 changed files with 46 additions and 1 deletions

View File

@@ -103,6 +103,14 @@ namespace NTwain
internal TWIdentity Identity { get; private set; }
/// <summary>
/// Gets the id of the source.
/// </summary>
/// <value>
/// The identifier.
/// </value>
public int Id { get { return Identity.Id; } }
/// <summary>
/// Gets the source's product name.
/// </summary>