LAUREL BRIDGE

Program Class

DICOM Connectivity Framework V3.4
This example demonstrates how the encoding and decoding of unicode string values integrates with the DCF library.
Inheritance Hierarchy

SystemObject
  LaurelBridge.DCF.Examples.EncodeDecodeUnicodeProgram

Namespace:  LaurelBridge.DCF.Examples.EncodeDecodeUnicode
Assembly:  EncodeDecodeUnicode (in EncodeDecodeUnicode.exe) Version: DCF34 r11538 DCF_3_4_24_20190319
Syntax

C#
public class Program

The Program type exposes the following members.

Constructors

  NameDescription
Public methodProgram
Initializes a new instance of the Program class
Top
Methods

  NameDescription
Public methodStatic memberMain
Main entry point that demonstrates the encoding and decoding process for the given sample strings.
Top
Remarks

Example unicode strings for patient's name (PN element) and patient comments (LT element) are created and added to a dataset and encoded upon writing the dataset to disk. The dataset written to disk is then read back in and the values for each element are printed and dumped in hex to verify the unicode strings remained intact. Note that the values for the encoded elements are decoded on demand in the call to element.ToString(). Upon completion the notepad executable is started to view the original and processed datasets.
See Also

Reference