DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomGlobal Class / IsEncrypted Method
File to test






In This Topic
    IsEncrypted Method
    In This Topic
    Tests whether a DICOM file is encrypted according the CMS encoding defined in DICOM supplement 895
    Syntax
    'Declaration
     
    
    Public Shared Function IsEncrypted( _
       ByVal Filename As System.String _
    ) As System.Boolean
    'Usage
     
    
    Dim Filename As System.String
    Dim value As System.Boolean
     
    value = DicomGlobal.IsEncrypted(Filename)
    public static System.bool IsEncrypted( 
       System.string Filename
    )
    public function IsEncrypted( 
        Filename: System.String
    ): System.Boolean; static; 
    public static function IsEncrypted( 
       Filename : System.String
    ) : System.boolean;
    public: static System.bool IsEncrypted( 
       System.string* Filename
    ) 
    public:
    static System.bool IsEncrypted( 
       System.String^ Filename
    ) 

    Parameters

    Filename
    File to test

    Return Value

    True if file is encrypted
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also