VintaSoft Twain .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Twain Namespace / DeviceManager Class / DefaultDevice Property
Syntax Exceptions Requirements SeeAlso
In This Topic
    DefaultDevice Property (DeviceManager)
    In This Topic
    Returns the default TWAIN device.
    Public ReadOnly Property DefaultDevice As Device
    public Device DefaultDevice { get; }
    public: __property Device* get_DefaultDevice();
    property Device^ DefaultDevice { Device^ get(); }

    Return Value

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

    Target Platforms: .NET 7; .NET 6; .NET 5; .NET Core 3.1; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also