C# Keyboard Wedge API Documentation
C# Keyboard Wedge API Documentation
EasyScriptAPI
EasyScript Class
EasyScript Methods
AddListener Method
GetCardProtocol Method
GetSignatureProtocol Method
KeyboardEventToChar Method
Parse Method
ParseCardSwipe Method
ParseSignature Method
RemoveListener Method
RenderSignature Method

# EasyScript Methods

The EasyScript type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| AddListener | This method accepts a new event listener which will be called when signature or card events are detected in the character stream passed in through ParseSignature().
| GetCardProtocol | Gets the current card swipe protocol
| GetSignatureProtocol | Gets the current signature protocol
| KeyboardEventToChar | This method will attempt to take a keyboard event from either KeyUp or KeyDown and attempt to turn it into its representation in the English - US keyboard layout. This should allow EasyScript devices to work in mixed keyboard environments.
| Parse | This method allows streaming of individual characters to produce streaming signatures using callbacks registered with addListener(). When events are detected in the signature stream events will be sent to the event listeners.
| ParseCardSwipe | This method attempts to parse a magnetic card swipe from a ScripTouch device with a magnetic strip reader.
| ParseSignature | This method takes a EasyScript string and attempts to parse it into a signature object.
| RemoveListener | This method removes an event listener from the list of listeners interested in signature events.
| RenderSignature | This method will take a signature and will attempt to render it onto an Image object.

Top
See Also

#### Reference

EasyScript Class
EasyScriptAPI Namespace