VintaSoft Twain .NET SDK v10.2
Vintasoft.Twain.Web.ApiControllers Namespace / VintasoftTwainApiController Class / CloseDeviceManager Method
The parameters, which are necessary for closing TWAIN device manager.




In This Topic
    CloseDeviceManager Method (VintasoftTwainApiController)
    In This Topic
    Closes the TWAIN device manager.
    Syntax
    'Declaration
     
    <HttpPostAttribute()>
    Public Overridable Function CloseDeviceManager( _
       ByVal requestParams As WebTwainRequestParamBase _
    ) As Vintasoft.Shared.Web.BaseResponseParams
    'Usage
     
    Dim instance As VintasoftTwainApiController
    Dim requestParams As WebTwainRequestParamBase
    Dim value As Vintasoft.Shared.Web.BaseResponseParams
     
    value = instance.CloseDeviceManager(requestParams)
    [HttpPost()]
    public virtual Vintasoft.Shared.Web.BaseResponseParams CloseDeviceManager( 
       WebTwainRequestParamBase requestParams
    )
    [HttpPost()]
    public: virtual Vintasoft.Shared.Web.BaseResponseParams* CloseDeviceManager( 
       WebTwainRequestParamBase* requestParams
    ) 
    [HttpPost()]
    public:
    virtual Vintasoft.Shared.Web.BaseResponseParams^ CloseDeviceManager( 
       WebTwainRequestParamBase^ requestParams
    ) 

    Parameters

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

    Return Value

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

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

    See Also