public int nabtoGetLocalDevices(out string[] devices)
        {
            IntPtr arrayBase;
            int    arrayLength;

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

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

            return(status);
        }