VintaSoft Twain .NET SDK 15.2: Documentation for .NET developer
Vintasoft.WpfTwain Namespace / DeviceManager Class / DefaultDevice Property
Syntax Exceptions Requirements SeeAlso
    DefaultDevice Property (DeviceManager)
    Gets the default TWAIN device.
    Syntax
    'Declaration
    
    <BrowsableAttribute(False)>
    <ReadOnlyAttribute(True)>
    Public ReadOnly Property DefaultDevice As Device
    
    
     

    Return Value

    Device object if device manager has default device; null if default device is not found.
    Exceptions
    ExceptionDescription
    Thrown if TWAIN device manager is not open.
    Thrown if object is disposed.
    Thrown if .NET debugger is used and the function evaluation requires all threads to run.
    Requirements

    Target Platforms: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also