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

In This Topic
    CloseTwainSession Method (VintasoftTwainWebService)
    In This Topic
    Closes TWAIN sessions.
    Public Shared Function CloseTwainSession( _
       ByVal twainSessionId As String _
    ) As Vintasoft.Shared.Web.BaseResponseParams
    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
    static Vintasoft.Shared.Web.BaseResponseParams^ CloseTwainSession( 
       String^ twainSessionId


    TWAIN session ID.

    Return Value

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

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

    See Also