←Select platform

DownloadMessage Property

Summary

If IsAvailable is false , DownloadMessage provides instructions for downloading OpenSSL .

Syntax
C#
C++/CLI
public string DownloadMessage { get; set; } 
public:  
   property String^ DownloadMessage 
   { 
      String^ get() 
      void set(String^ value) 
   } 

Property Value

A string containing instructions for downloading OpenSSL

Remarks

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

If [DicomOpenSslVersion.IsAvailable] is false , then the OpenSSL libraries could not be located. If this is the case, then the DownloadMessage member contains instructions for downloading OpenSSL binaries and source code.

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 23.0.2024.8.20
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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