NCalc now have official support to this. Source: https://github.com/ncalc/ncalc/pull/104
Example:
var expression = new Expression("a + 1"); var parameters = exp.GetParametersNames(); //will return ["a"]