DicomObjects.NET Core 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 String _
    ) As Boolean
    'Usage
     
    
    Dim Filename As String
    Dim value As Boolean
     
    value = DicomGlobal.IsEncrypted(Filename)
    public static bool IsEncrypted( 
       string Filename
    )
    public:
    static bool IsEncrypted( 
       String^ Filename
    ) 

    Parameters

    Filename
    File to test

    Return Value

    True if file is encrypted
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also