private void Register(AerospikeClient client, Arguments args, string packageContents) { string packageName = "sum_example.lua"; console.Info("Register: " + packageName); RegisterTask task = client.RegisterUdfString(null, packageContents, packageName, Language.LUA); task.Wait(); }