public unsafe Task SetTextAsync(string text)
        {
            _native.Clear();

            if (text != null)
            {
                _native.SetText(NSPasteboardTypeString, text);
            }

            return(Task.CompletedTask);
        }
        public Task SetTextAsync(string text)
        {
            _native.Clear();

            if (text != null)
            {
                using (var buffer = new Utf8Buffer(text))
                {
                    _native.SetText(NSPasteboardTypeString, buffer.DangerousGetHandle());
                }
            }

            return(Task.CompletedTask);
        }
        public Task SetTextAsync(string text)
        {
            _native.Clear();

            if (text != null)
            {
                _native.SetText(text);
            }

            return(Task.CompletedTask);
        }