void Free(IntPtr pointer)
        {
            var status = (NabtoStatus)Win32NativeMethods.nabtoFree(pointer);

            if (status != NABTO_OK)
            {
                throw new NabtoClientException(status, "Unable to free memory allocated by Nabto.");
            }
        }