Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.29
|
Leadtools.Sane Assembly > Leadtools.Sane Namespace > SaneFactory Class > CreateSession Method : CreateSession(InetAddress,Int32) Method |
public static SaneSession CreateSession( InetAddress address, int port )
'Declaration
Public Overloads Shared Function CreateSession( _ ByVal address As InetAddress, _ ByVal port As Integer _ ) As SaneSession
'Usage
Dim address As InetAddress Dim port As Integer Dim value As SaneSession value = SaneFactory.CreateSession(address, port)
public static SaneSession createSession()
public: static SaneSession^ CreateSession( InetAddress^ address, int port )
To create a local SANE session, pass InetAddress.getLocalHost() as the address.
A SANE daemon should be installed and running before creating a network session.