[WebInvokeAttribute(BodyStyle=2,
Method="POST",
RequestFormat=1,
ResponseFormat=1)]
[OperationContractAttribute(Name="GetCapability",
Action="GetCapability",
AsyncPattern=false,
IsOneWay=false,
IsInitiating=true,
IsTerminating=false)]
public Stream GetCapability(
string id,
TwainCapabilityType capabilityType,
TwainGetCapabilityMode mode,
object userData
)
id
The scanning session Id.
capabilityType
The capability to get.
mode
The capability values to get.
userData
The user data.
A TwainCapability that represents the specified capability value(s).