FailOnSuspiciousPreamble Property
In This Topic
Detect any non-zero data in the preamble (the first 128 bytes) leading to 'DICM', and alert if any unwanted bytes or malicious code is present. A pre-defined list of file formats
PreambleFileSignatures is used for checking against the non-zero preamble
This mainly affects data with such preamble when reading it in. Writing to disk or sending using DICOM protocol would remove existing preamble (effectively cleaning any malicious preamble) and recreate it when written to disk on the receiving side
Syntax
'Declaration
Public Shared Property FailOnSuspiciousPreamble As Boolean
'Usage
Dim value As Boolean
DicomGlobal.FailOnSuspiciousPreamble = value
value = DicomGlobal.FailOnSuspiciousPreamble
public static bool FailOnSuspiciousPreamble {get; set;}
public:
static property bool FailOnSuspiciousPreamble {
bool get();
void set ( bool value);
}
Requirements
Target Platforms: .NET CLR 3.5 or higher
See Also