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 ParseCardSwipe Method

This method attempts to parse a magnetic card swipe from a ScripTouch device with a magnetic strip reader.

Namespace: EasyScriptAPI
Assembly: EasyScriptAPI (in EasyScriptAPI.dll) Version: 3.5.29.0 (3.5.29.0)
Syntax
C#
VB
C++
F#
Copy

    public CardSwipe ParseCardSwipe(
    	string swipe
    )

    Public Function ParseCardSwipe (
    	swipe As String
    ) As CardSwipe

    public:
    CardSwipe^ ParseCardSwipe(
    	String^ swipe
    )

    member ParseCardSwipe :
            swipe : string -> CardSwipe

#### Parameters

swipe
  Type: System
  String
  ScripTouch magnetic strip data.

#### Return Value

Type: CardSwipe
Parsed card swipe
Exceptions

Exception | Condition
--- | ---
CardSwipeInvalidException | Thrown in the event the card couldn't be properly parsed

See Also

#### Reference

EasyScript Class
EasyScriptAPI Namespace