- 06 Nov 2024
- 1 Minute to read
- DarkLight
Version 4.28.0
- Updated on 06 Nov 2024
- 1 Minute to read
- DarkLight
New features and enhancements
.NET
.NET version refactored
The Secure Messaging SDK Server has been re-factored to modernize and improve the code resulting in the following changes. We recommend that you review your integrations to make sure these changes are reflected in your code.
General changes
Migrated from .NET Framework to .NET 6
Added the ISecureMessagingSDKServer interface
Replaced the SecureMessagingSDKServer class with the ISecureMessagingSDKServer interface
Added the SecureMessagingSDKServerProvider class used to create an instance of the ISecureMessagingSDKServer
Renamed namespace from Com.Vasco to OneSpan
Renamed the KeyValueText interface to IKeyValueText
Added C# XML comments
Changes in the SecureMessagingSDKException class
Updated the GetErrorMessage() method to the Message property
Updated the GetErrorCode() method to the ErrorCode property
Deleted the SetErrorCode() method
Changes in the FormattedText class
Updated the IsBold() method to the IsBold property
Updated the IsItalic() method to the IsItalic property
Updated the IsInverse() method to the IsInverse property
Updated the GetColor() method to the Color property
Updated the GetTextAlignment() method to the TextAlignment property
Updated the getFontTableIndex() method to the FontTableIndex property
Changes in the SecureChannelResponse class
Updated the GetVersion() method to the Version property
Updated the GetFunctionId() method to the FunctionId property
Updated the GetReturnValue() method to the ReturnValue property
Changes in the KeyValue class
Updated GetKey() method to Key property
Updated GetValue() method to Value property
Changes in the MultiFormattedText class
Updated the GetFormattedTextList() method to the FormattedTextList property
Update the GetTextAlignment() method the TextAlignment property
Updated the GetFontTableIndex() method to the FontTableIndex property