Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
in CSharpDemo there is a demo project in C# to decode a file and get the decrypted
data as byte[] (byte array)
*** to decode a file and get the content as byte array ***
after successful import, the data must be read with the function:
byte[] readbuffer is the byte array where the file content will be imported
*** to decode a file and save directly to another file the content
Int32 RLib_RestoreDataFile([MarshalAs(UnmanagedType.BStr)] string filename,
[MarshalAs(UnmanagedType.BStr)] string outpath, [MarshalAs(UnmanagedType.BStr)]
string outname, ref Int32 ftype, out double utctime,
[MarshalAs(UnmanagedType.BStr)] string pwd, [MarshalAs(UnmanagedType.BStr)] out
string errdesc);
./filecrypt
"fnm=/home/username/Documents/test.zip;outnm=;ftyp=500;mode=2;spltsz=0;pwd="
outnm= filename of the output file (if blank, will use by default the source file
name with extension .ngte)
ftyp= a numeric code to mark the file type (if blank, the file will use ftyp=500
that is "Navigate Update File Type")