C#
C++/CLI
Contains the version of the OpenSSL libraries that LEADTOOLS requires to enable the security features.
public string RequiredVersion { get; set; }
public:
property String^ RequiredVersion
{
String^ get()
void set(String^ value)
}
The version of the OpenSSL libraries that LEADTOOLS requires to enable the security features.
A call to GetOpenSslVersion returns a DicomOpenSslVersion structure that contains information about the availability and version of the OpenSSL libraries.
The RequiredVersion member of this structure contains the version of the OpenSSL libraries that LEADTOOLS requires to enable the security features, including:
using Leadtools;
using Leadtools.Dicom;
public void GetOpenSslVersion()
{
DicomOpenSslVersion version = DicomNet.GetOpenSslVersion();
string message = string.Empty;
if (version.IsAvailable)
{
message = string.Format("OpenSSL is installed on this computer.\n\n* Installed Version: {0}\n* Required Version: {1}",
version.InstalledVersion,
version.RequiredVersion
);
}
else
{
message = version.DownloadMessage;
}
Console.WriteLine($"Information: {message}");
}