VintaSoft Twain .NET SDK v10.2
Vintasoft.Twain.Web.Services Namespace / VintasoftTwainWebService Class / OpenDevice Method
The request parameters that contain TWAIN session identifier.




In This Topic
    OpenDevice Method (VintasoftTwainWebService)
    In This Topic
    Opens the device.
    Syntax
    'Declaration
     
    Public Function OpenDevice( _
       ByVal requestParams As OpenDeviceRequestParam _
    ) As Vintasoft.Shared.Web.BaseResponseParams
    'Usage
     
    Dim instance As VintasoftTwainWebService
    Dim requestParams As OpenDeviceRequestParam
    Dim value As Vintasoft.Shared.Web.BaseResponseParams
     
    value = instance.OpenDevice(requestParams)
    public Vintasoft.Shared.Web.BaseResponseParams OpenDevice( 
       OpenDeviceRequestParam requestParams
    )
    public: Vintasoft.Shared.Web.BaseResponseParams* OpenDevice( 
       OpenDeviceRequestParam* requestParams
    ) 
    public:
    Vintasoft.Shared.Web.BaseResponseParams^ OpenDevice( 
       OpenDeviceRequestParam^ requestParams
    ) 

    Parameters

    requestParams
    The request parameters that contain TWAIN session identifier.
    Exceptions
    ExceptionDescription
    Thrown if TWAIN session is wrong OR device manager is not opened.
    Thrown if device is not found.
    Requirements

    Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also