Solid File System

Virtual file system enigne that can be embedded into your software.

SolFSStorage.GetFileEncryption method


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

SolFSStorage     See also    


Rerurns file encryption mode.


    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);

    SolFSEncryption GetFileEncryption(String fileName);

    Function GetFileEncryption(ByVal fileName As String) As SolFSEncryption

    EncryptionTypes getFileEncryption(String fileName)


  • 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


Use GeFileEncryption to determine encryption mode of the file.

See also


Back to top