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




In This Topic
    CloseTwainSession Method (VintasoftTwainApiController)
    In This Topic
    Closes the TWAIN session.
    Syntax
    'Declaration
     
    <HttpPostAttribute()>
    Public Function CloseTwainSession( _
       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.CloseTwainSession(requestParams)
    [HttpPost()]
    public Vintasoft.Shared.Web.BaseResponseParams CloseTwainSession( 
       WebTwainRequestParamBase requestParams
    )
    [HttpPost()]
    public: Vintasoft.Shared.Web.BaseResponseParams* CloseTwainSession( 
       WebTwainRequestParamBase* requestParams
    ) 
    [HttpPost()]
    public:
    Vintasoft.Shared.Web.BaseResponseParams^ CloseTwainSession( 
       WebTwainRequestParamBase^ requestParams
    ) 

    Parameters

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

    Return Value

    Base information about web request.
    Remarks
    This method will close the device if device is opened.
    This method will close the device manager if device manager is opened.
    Requirements

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

    See Also