VintaSoft Twain .NET SDK v10.2
Vintasoft.Twain.Web.Api2Controllers Namespace / VintasoftTwainApi2Controller Class / RefreshTwainSession Method
The parameters, which are necessary for refreshing TWAIN session.




In This Topic
    RefreshTwainSession Method (VintasoftTwainApi2Controller)
    In This Topic
    Refreshes the TWAIN session, i.e. marks TWAIN session as active session.
    Syntax
    'Declaration
     
    <HttpPostAttribute()>
    Public Function RefreshTwainSession( _
       ByVal requestParams As WebTwainRequestParamBase _
    ) As Vintasoft.Shared.Web.BaseResponseParams
    'Usage
     
    Dim instance As VintasoftTwainApi2Controller
    Dim requestParams As WebTwainRequestParamBase
    Dim value As Vintasoft.Shared.Web.BaseResponseParams
     
    value = instance.RefreshTwainSession(requestParams)
    [HttpPost()]
    public Vintasoft.Shared.Web.BaseResponseParams RefreshTwainSession( 
       WebTwainRequestParamBase requestParams
    )
    [HttpPost()]
    public: Vintasoft.Shared.Web.BaseResponseParams* RefreshTwainSession( 
       WebTwainRequestParamBase* requestParams
    ) 
    [HttpPost()]
    public:
    Vintasoft.Shared.Web.BaseResponseParams^ RefreshTwainSession( 
       WebTwainRequestParamBase^ requestParams
    ) 

    Parameters

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

    Return Value

    Base information about web request.
    Requirements

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

    See Also