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:
@@ -111,7 +111,7 @@ namespace NTwain
|
||||
/// <exception cref="System.InvalidOperationException"></exception>
|
||||
public IEnumerable<TWInfo> GetExtImageInfo(params ExtendedImageInfo[] infoIds)
|
||||
{
|
||||
if (infoIds != null && infoIds.Length > 0 && DataSource.SupportedCaps.Contains(CapabilityId.ICapExtImageInfo))
|
||||
if (infoIds != null && infoIds.Length > 0)// && DataSource.SupportedCaps.Contains(CapabilityId.ICapExtImageInfo))
|
||||
{
|
||||
var request = new TWExtImageInfo { NumInfos = (uint)infoIds.Length };
|
||||
if (infoIds.Length > request.Info.Length)
|
||||
|
||||
Reference in New Issue
Block a user