VintaSoft Twain .NET SDK v10.2
CloseTwainSession Method (VintasoftTwainWebService)




Vintasoft.Twain.Web.Services Namespace > VintasoftTwainWebService Class : CloseTwainSession Method
TWAIN session ID.
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

Reference

VintasoftTwainWebService Class
VintasoftTwainWebService Members