VintaSoft Twain .NET SDK v10.2
AllowableSessionInactivityTime Property (VintasoftTwainApiController)




Vintasoft.Twain.Web.ApiControllers Namespace > VintasoftTwainApiController Class : AllowableSessionInactivityTime Property
Gets or sets an interval, in milliseconds, during which the session must be refreshed, i.e. marked as active.
Syntax
'Declaration
 
Public Shared Property AllowableSessionInactivityTime As Integer
'Usage
 
Dim value As Integer
 
VintasoftTwainApiController.AllowableSessionInactivityTime = value
 
value = VintasoftTwainApiController.AllowableSessionInactivityTime
public static int AllowableSessionInactivityTime {get; set;}
public: __property static int get_AllowableSessionInactivityTime();
public: __property static void set_AllowableSessionInactivityTime( 
   int value
);
public:
static property int AllowableSessionInactivityTime {
   int get();
   void set (    int value);
}

Property Value

Default value is 60000 milliseconds (1 minute). Minimum value is 100, maximum value is 3600000.
Remarks
TWAIN session can be refreshed, marked as active, using the RefreshTwainSession method.

All expired TWAIN sessions can be closed using the CloseExpiredTwainSessions method.
Requirements

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

See Also

Reference

VintasoftTwainApiController Class
VintasoftTwainApiController Members
RefreshTwainSession Method
CloseTwainSession Method
CloseExpiredTwainSessions Method