SolFSStorage.GetFileEncryption method

Filter:

Pascal    Plain C    C++ (DLL/Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET    Java 

SolFSStorage     See also    

Overview

Rerurns file encryption mode.

Declaration

[Pascal]
    function GetFileEncryption(const FileName: TSolFSString): TSolFSEncryption;

[Plain C]
    long _stdcall StorageGetFileEncryption(unsigned long Storage, const wchar_t* FileName, unsigned long *Encryption);

[C++ (DLL/Lib)]
    SolFSEncryption GetFileEncryption(const unsigned short* FileName);

[C++ (VCL)]
    TSolFSEncryption __fastcall GetFileEncryption(const TSolFSString FileName);

[C++ (.NET)]
    SolFSEncryption GetFileEncryption(String *fileName);

[C#]
    SolFSEncryption GetFileEncryption(String fileName);

[VB.NET]
    Function GetFileEncryption(ByVal fileName As String) As SolFSEncryption

[Java]
    EncryptionTypes getFileEncryption(String fileName)

Parameters

  • FileName - the full file name in the SolFSStorage.
  • [Plain C] Storage - handle to the storage returned by Create or Open function.
  • [Plain C] Encryption - returns file encryption mode.

Return value

    File encryption mode.

     [Plain C]  0 if the function succeeded or one of Error codes if the function failed.

Values of StorageEncryption

Description

Use GeFileEncryption to determine encryption mode of the file.

See also

SetFileEncryption