Set Position Handle Widget In C#

Someone also asked it here: c# - Reverse way to get double array values from IntPtr - Stack Overflow

googling “intptr to double[]” and “double[] to intptr” should bring you there in a few clicks