VintaSoft Twain .NET SDK 15.0: Documentation for Web developer
Vintasoft.Twain Namespace / WebTwainDeviceManagerJS type / get_Devices Property
Syntax Exceptions Remarks BrowserCompatibility SeeAlso
In This Topic
    get_Devices Method
    In This Topic
    Gets a list of TWAIN/SANE devices installed in the system.
    Syntax
    var instance = new Vintasoft.Twain.WebTwainDeviceManagerJS(service);
    
    var value; // Type: Vintasoft.Twain.WebTwainDeviceJS[]
    value = instance.get_Devices();
    
    
    function get_Devices() : WebTwainDeviceJS[];
    

    Return Value

    An array of instances of WebTwainDeviceJS objects.
    Exceptions
    ExceptionDescription
    Thrown if TWAIN device manager is not opened OR information about TWAIN devices is not received.
    Remarks

    This property sends a synchronous request to get a list of TWAIN devices installed in the system. If you want to use asynchronous request instead of synchronous request, please use WebTwainDeviceManagerJS.getDevicesAsync function.

    Browser Compatibility
    9
    See Also