Hi Isaac,
I thank you for your reply, and I will look for alternative ways to resolve the problem;
one possibility is to use mysqldump via C#, which does not require the use of potentially dangerous functions, like php's exec(); function.
Best regards Giovanni