public int nabtoGetCertificates(out string[] certificates)
        {
            IntPtr arrayBase;
            int    arrayLength;

            var status = Win32NativeMethods.nabtoGetCertificates(out arrayBase, out arrayLength);

            if (status == NABTO_OK)
            {
                certificates = MoveStringArray(arrayBase, arrayLength);
            }
            else
            {
                certificates = null;
            }

            return(status);
        }