Example #1
0
        public async Task RequestClipboardContentsAsync()
        {
            var wrapper = await ServerProxy.GetClipboardWrapper();

            if (wrapper != null)
            {
                ClipboardWrapper.Setting = wrapper.Setting;
                ClipboardWrapper.Clear();
                foreach (var x in wrapper.Contents)
                {
                    ClipboardWrapper.Add(x);
                }
            }
        }