VintaSoft Twain .NET SDK v10.2
Vintasoft.Twain.Web.Services Namespace / VintasoftTwainWebService Class / CloseTwainSession Method
TWAIN session ID.




In This Topic
    CloseTwainSession Method (VintasoftTwainWebService)
    In This Topic
    Closes TWAIN sessions.
    Syntax
    'Declaration
     
    Public Shared Function CloseTwainSession( _
       ByVal twainSessionId As String _
    ) As Vintasoft.Shared.Web.BaseResponseParams
    'Usage
     
    Dim twainSessionId As String
    Dim value As Vintasoft.Shared.Web.BaseResponseParams
     
    value = VintasoftTwainWebService.CloseTwainSession(twainSessionId)
    public static Vintasoft.Shared.Web.BaseResponseParams CloseTwainSession( 
       string twainSessionId
    )
    public: static Vintasoft.Shared.Web.BaseResponseParams* CloseTwainSession( 
       string* twainSessionId
    ) 
    public:
    static Vintasoft.Shared.Web.BaseResponseParams^ CloseTwainSession( 
       String^ twainSessionId
    ) 

    Parameters

    twainSessionId
    TWAIN session ID.

    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