#include "ltdic.h"
L_LTDIC_API L_INT L_DicomInitializeNet(hNet, pszPath, nMode, pCtxCreate)
This function is to be used in conjunction with the L_DicomCreateNetExt function in order to change security options from the defaults. This function is available in the Medical Imaging Suite toolkits.
A DICOM Network handle.
Character string that contains the location of the temporary files.
Flag that indicates the security mode to use when initializing the network structure. This should be the same flag that was used in the L_DicomCreateNetExt function. Possible values are:
Value | Meaning |
---|---|
DICOM_SECURE_NONE | No security mode. |
DICOM_SECURE_ISCL | Integrated Secure Communication Layer security mode. |
DICOM_SECURE_TLS | Transport Layer Security security mode. |
Pointer to the L_SSL_CTX_CREATE structure that is used to modify the security defaults. This structure is used only if the nMode
flag is DICOM_SECURE_TLS
. Pass NULL to get the default values.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
This function is to be used in conjunction with the L_DicomCreateNetExt function when changing security options from the defaults. Note that when using the L_DicomCreateNetExt function it is also necessary to call L_DicomInitializeNet in order to prepare the DICOMNET
handle for use. Use the pCtxCreate
parameter when the nMode
flag is set to DICOM_SECURE_TLS
.
Note that the following uses of the LDicomNet constructors are functionally equivalent:
1.
hNET = L_DicomCreateNet(pszPath, nMode);
2.
L_DicomCreateNetExt(pszPath, nMode, 0);
if (hNet)
L_DicomInitializeNet(pszPath, nMode, NULL);
Required DLLs and Libraries
Win32, x64, Linux.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.