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




In This Topic
    CloseTwainSession Method (VintasoftTwainWcfService)
    In This Topic
    Closes the TWAIN session.
    Syntax
    'Declaration
     
    Public Function CloseTwainSession( _
       ByVal requestParams As WebTwainRequestParamBase _
    ) As Vintasoft.Shared.Web.BaseResponseParams
    'Usage
     
    Dim instance As VintasoftTwainWcfService
    Dim requestParams As WebTwainRequestParamBase
    Dim value As Vintasoft.Shared.Web.BaseResponseParams
     
    value = instance.CloseTwainSession(requestParams)
    public Vintasoft.Shared.Web.BaseResponseParams CloseTwainSession( 
       WebTwainRequestParamBase requestParams
    )
    public: Vintasoft.Shared.Web.BaseResponseParams* CloseTwainSession( 
       WebTwainRequestParamBase* requestParams
    ) 
    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