VintaSoft Twain .NET SDK v10.2
OpenDeviceManager Method (IVintasoftTwainWcfService)




Vintasoft.Twain.Web.WcfServices Namespace > IVintasoftTwainWcfService Interface : OpenDeviceManager Method
The parameters, which are necessary for opening TWAIN device manager.
Opens the TWAIN device manager.
Syntax
'Declaration
 
<WebInvokeAttribute(Method="POST", 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json, 
   IsBodyStyleSetExplicitly=True, 
   IsRequestFormatSetExplicitly=True, 
   IsResponseFormatSetExplicitly=True)>
<OperationContractAttribute(Name="OpenDeviceManager", Action="OpenDeviceManager")>
Function OpenDeviceManager( _
   ByVal requestParams As OpenDeviceManagerRequestParam _
) As Vintasoft.Shared.Web.BaseResponseParams
'Usage
 
Dim instance As IVintasoftTwainWcfService
Dim requestParams As OpenDeviceManagerRequestParam
Dim value As Vintasoft.Shared.Web.BaseResponseParams
 
value = instance.OpenDeviceManager(requestParams)
[WebInvoke(Method="POST", 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json, 
   IsBodyStyleSetExplicitly=true, 
   IsRequestFormatSetExplicitly=true, 
   IsResponseFormatSetExplicitly=true)]
[OperationContract(Name="OpenDeviceManager", Action="OpenDeviceManager")]
Vintasoft.Shared.Web.BaseResponseParams OpenDeviceManager( 
   OpenDeviceManagerRequestParam requestParams
)
[WebInvoke(Method="POST", 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json, 
   IsBodyStyleSetExplicitly=true, 
   IsRequestFormatSetExplicitly=true, 
   IsResponseFormatSetExplicitly=true)]
[OperationContract(Name="OpenDeviceManager", Action="OpenDeviceManager")]
Vintasoft.Shared.Web.BaseResponseParams* OpenDeviceManager( 
   OpenDeviceManagerRequestParam* requestParams
) 
[WebInvoke(Method="POST", 
   RequestFormat=WebMessageFormat.Json, 
   ResponseFormat=WebMessageFormat.Json, 
   IsBodyStyleSetExplicitly=true, 
   IsRequestFormatSetExplicitly=true, 
   IsResponseFormatSetExplicitly=true)]
[OperationContract(Name="OpenDeviceManager", Action="OpenDeviceManager")]
Vintasoft.Shared.Web.BaseResponseParams^ OpenDeviceManager( 
   OpenDeviceManagerRequestParam^ requestParams
) 

Parameters

requestParams
The parameters, which are necessary for opening TWAIN device manager.

Return Value

Base information about web request.
Exceptions
ExceptionDescription
Thrown if TWAIN session is wrong.
Requirements

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

See Also

Reference

IVintasoftTwainWcfService Interface
IVintasoftTwainWcfService Members