VintaSoft Twain .NET SDK v10.2
Online Property (Device)




Vintasoft.WpfTwain Namespace > Device Class : Online Property
Determines that the device is powered up and available.
Syntax
'Declaration
 
Public ReadOnly Property Online As Boolean
'Usage
 
Dim instance As Device
Dim value As Boolean
 
value = instance.Online
public bool Online {get;}
public: __property bool get_Online();
public:
property bool Online {
   bool get();
}
Exceptions
ExceptionDescription
Thrown if device is in wrong state.
Thrown if device does not support capability.
Thrown if the .NET debugger is used and the function evaluation requires all threads to run.
Remarks
Call this property only when device is opened (State == DeviceState.Opened).
Requirements

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

See Also

Reference

Device Class
Device Members
Open Method