public void GetCameraParamsCallbackOK(WSCameraParamsResponse response) { double[] cam_params = new double[4]; byte[] byte_array; byte_array = Convert.FromBase64String(response.data); float[] paramsf = new float[4]; IntPtr byte_send; byte_send = Marshal.AllocHGlobal(20); Marshal.Copy(byte_array, 0, byte_send, 20); PikkartARCore.DecryptCalibParams(byte_send, paramsf); cam_params[0] = paramsf[0]; cam_params[1] = paramsf[1]; cam_params[2] = paramsf[2]; cam_params[3] = paramsf[3]; _dataProviderListener.GetCameraParamCallback(cam_params, true); _getMarkerRequestRunning = false; }