System.IO.Compression not included in Fivem System assembly to use GZipStream

Hi
I have a resource that check some data in a large file like 12mb, and yet i did not finish to complete that file “json data”.
i found in internet a way to compress string using GZipStream but i’ve seen that System assembly used by Fivem does not include System.IO.Compression namespace.
using this assembly i can compress it from 12mb to 800 kb.
Is there a way to use it or another compression out there ?

Thank you

1 Like

Hi
Actually it’s was me that i did’nt figure out.
I just added assembly System.dll to my project as reference and job done.
I tough that Fivem use specific assemblies and prevent from using others.