Enum SwiftOptions
Option flags for the processing of SWIFT data by the SwiftReader and writing SWIFT data through the SwiftWriter.
[Flags]
public enum SwiftOptions
Fields
BtxCRLF = 1Indicates that the old BTX CRLF replacement sequence @@ is accepted, or was encountered.
ControlAsBlank = 64Accepts any unprintable control character as a single blank character.
Default = 0The default option setting excludes all defined options. This default setting enforces strict SWIFT compliance.
ExtraCRLF = 16Indicates that extra CRLF sequences following the End-Of-Text marker shall be ignored.
IgnoreMissingEndOfText = 256Accept messages that are not properly concluded with a EndOfText marker.
IgnoreUnexpectedEndOfStream = 128Try to successfully complete reading, even if there is an unexpected end-of-stream in the middle of the message.
MaxTolerance = 65535Maximum tolerance for the SwiftReader. All flags are set.
NoLeadingCRLF = 2Indicates that the first field needs not or did not start with a CRLF sequence. For strict SWIFT compliance, the first field must start with a CRLF sequence.
NonSwiftTag = 4Indicates that the old BTX Non-SWIFT field NS is accepted, or was encountered. In SWIFT all valid field tags start with two digits and therefore the field tag NS is rejected as invalid unless this flag is set.
RecommendedMT5xx = NoLeadingCRLF | ExtraCRLF | UnixLF | IgnoreMissingEndOfTextRecommended flag combination for parsing all MT-5xx Securities Markets messages.
RecommendedMT940 = SpecialField86 | RecommendedMT942Recommended flag combination for parsing MT-940 messages.
RecommendedMT942 = BtxCRLF | NonSwiftTag | ControlAsBlank | RecommendedMT5xxRecommended flag combination for parsing MT-942 messages.
SpecialField86 = 8Activates special MT-940 field 86 semantics. If this option is set, the end of the field 86 inside of MT-940 statement data is determined by some very special processing and not through the ordinary SWIFT processing rules.
UnixLF = 32Indicates that simple UNIX linefeeds are accepted in place of CRLF sequences.