Subject: Error calling SetLicense in .net core matriX 2.1.0.8
I am trying to update to .net core but now when I call SetLicense I get the error listed below. I tried installing the System.Security.Cryptogropy package but it didn't help.
- String lic = @"MyLicense";
- Matrix.License.LicenseManager.SetLicense(lic);
(Error)
Message=Could not load type 'System.Security.Cryptography.MD5Cng' from assembly 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Source=Matrix
StackTrace:
at Matrix.Util.Hash.Md5HashBytes(Byte[] pass)
at Matrix.License.License.Validate()
at Matrix.License.LicenseManager.SetLicense(String lic)
Message=Could not load type 'System.Security.Cryptography.MD5Cng' from assembly 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Source=Matrix
StackTrace:
at Matrix.Util.Hash.Md5HashBytes(Byte[] pass)
at Matrix.License.License.Validate()
at Matrix.License.LicenseManager.SetLicense(String lic)
This post was edited 2 times, last on 2020-11-14, 10:08 by Alex.