public long[] get_metric( string [] subnets ) { object [] results = this.Invoke("get_metric", new object [] { subnets}); return ((long [])(results[0])); }