using NTwain.Data; using System.ComponentModel; namespace NTwain { /// /// Interface for keeping track of current TWAIN state with current app and source ids. /// public interface ITwainState : INotifyPropertyChanged { /// /// Gets the source id used for the session. /// /// The source id. TWIdentity SourceId { get; } /// /// Gets the current state number as defined by the TWAIN spec. /// /// The state. int State { get; } } }