VintaSoft Twain .NET SDK v10.3
Vintasoft.Twain.Web.ApiControllers Namespace / VintasoftTwainApiController Class / AllowableSessionInactivityTime Property

In This Topic
    AllowableSessionInactivityTime Property (VintasoftTwainApiController)
    In This Topic
    Gets or sets an interval, in milliseconds, during which the session must be refreshed, i.e. marked as active.
    Public Shared Property AllowableSessionInactivityTime As Integer
    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
    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.
    TWAIN session can be refreshed, marked as active, using the RefreshTwainSession method.

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

    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