mirror of
https://github.com/soukoku/ntwain.git
synced 2025-12-01 10:54:08 +08:00
Added workaround for sources that don't support querysupport call.
This commit is contained in:
@@ -6,7 +6,7 @@ namespace NTwain
|
||||
/// <summary>
|
||||
/// Represents a TWAIN data source.
|
||||
/// </summary>
|
||||
public interface IDataSource
|
||||
public interface IDataSource : ICapControl
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the source's product name.
|
||||
@@ -64,6 +64,14 @@ namespace NTwain
|
||||
/// </value>
|
||||
TWVersion Version { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether this data source has been opened.
|
||||
/// </summary>
|
||||
/// <value>
|
||||
/// <c>true</c> if this data source is open; otherwise, <c>false</c>.
|
||||
/// </value>
|
||||
bool IsOpen { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Opens the source for capability negotiation.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user