←Select platform

IsAvailable Property

Summary

Returns true if the OpenSSL libraries are present, and the version of the OpenSSL libraries is the RequiredVersion; false otherwise.

Syntax
C#
C++/CLI
public bool IsAvailable { get; set; } 
public:  
   property bool IsAvailable 
   { 
      bool get() 
      void set(bool value) 
   } 

Property Value

true if the OpenSSL libraries are present, and the version of the OpenSSL libraries is the RequiredVersion; false otherwise.

Remarks

A call to GetOpenSslVersion returns a DicomOpenSslVersion structure that contains information about the availability and version of the OpenSSL libraries.

If the OpenSSL libraries could not be loaded, or the OpenSSL libraries were loaded but not the correct required version, then the IsAvailable member of this structure is false .

For more information, see GetOpenSslVersion

Example
C#
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}"); 
} 
Requirements

Target Platforms

Help Version 22.0.2023.1.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.