C# : Not able to translate a file with /translation/file/translate


I’m trying to translate a file(say *.docx) from one language to another with SYSTRAN API(s). CSharp code uploaded to github https://github.com/SYSTRAN/translation-api-csharp-client code is not working.

I’ve also tried to pass

Byte array that result in corrupted string as output.
Base64 with encoding=“base64” (as mentioned in the function-parameter description) but that result in similar(input string == output string) string as output.

Technologies/libraries : c#, SYSTRAN API(s), RestSharp to hit Systran rest api(s).