VintaSoft Twain .NET SDK v10.2
Vintasoft.Twain.Web.Services Namespace / VintasoftTwainWebService Class / CloseDevice Method
The parameters, which are necessary for closing TWAIN device.




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

    Parameters

    requestParams
    The parameters, which are necessary for closing TWAIN device.

    Return Value

    Base information about web request.
    Exceptions
    ExceptionDescription
    Thrown if TWAIN session is wrong OR device manager is not opened OR device manager does not have opened device.
    Requirements

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

    See Also