VintaSoft Twain .NET SDK v10.3
Vintasoft.WpfTwain Namespace / DeviceManager Class / DefaultDevice Property

In This Topic
    DefaultDevice Property (DeviceManager)
    In This Topic
    Returns the default TWAIN device.
    Public ReadOnly Property DefaultDevice As Device
    Dim instance As DeviceManager
    Dim value As Device
    value = instance.DefaultDevice
    public Device DefaultDevice {get;}
    public: __property Device* get_DefaultDevice();
    property Device^ DefaultDevice {
       Device^ get();

    Property 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: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2016, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also