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 System.Boolean
'Usage
Dim value As System.Boolean
DicomGlobal.FailOnSuspiciousPreamble = value
value = DicomGlobal.FailOnSuspiciousPreamble
public static System.bool FailOnSuspiciousPreamble {get; set;}
public read-write property FailOnSuspiciousPreamble: System.Boolean; static;
public static function get,set FailOnSuspiciousPreamble : System.boolean
public: __property static System.bool get_FailOnSuspiciousPreamble();
public: __property static void set_FailOnSuspiciousPreamble(
System.bool value
);
public:
static property System.bool FailOnSuspiciousPreamble {
System.bool get();
void set ( System.bool value);
}
Requirements
Target Platforms: .NET CLR 4.8 or higher
See Also