{"id":18332058,"url":"https://github.com/mrousavy/clipboardmonitor","last_synced_at":"2025-04-06T03:33:32.048Z","repository":{"id":59430204,"uuid":"78554330","full_name":"mrousavy/ClipboardMonitor","owner":"mrousavy","description":"A small C# Library for Monitoring Clipboard with P/Invokes (e.g.: Clipboard Content Changed event)","archived":false,"fork":false,"pushed_at":"2017-01-19T19:55:28.000Z","size":11,"stargazers_count":12,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T16:21:22.527Z","etag":null,"topics":["clipboard","library","wpf"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrousavy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-10T16:56:27.000Z","updated_at":"2024-09-19T01:20:40.000Z","dependencies_parsed_at":"2022-09-17T01:24:03.549Z","dependency_job_id":null,"html_url":"https://github.com/mrousavy/ClipboardMonitor","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrousavy%2FClipboardMonitor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrousavy%2FClipboardMonitor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrousavy%2FClipboardMonitor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrousavy%2FClipboardMonitor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrousavy","download_url":"https://codeload.github.com/mrousavy/ClipboardMonitor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247430838,"owners_count":20937873,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clipboard","library","wpf"],"created_at":"2024-11-05T19:37:07.979Z","updated_at":"2025-04-06T03:33:31.750Z","avatar_url":"https://github.com/mrousavy.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ClipboardMonitor\nA small C# Library for Monitoring Clipboard with P/Invokes (e.g.: Clipboard Content Changed event)\n\n[Download the Library (.dll)](https://raw.githubusercontent.com/mrousavy/ClipboardMonitor/master/Downloads/ClipboardMonitor.dll)\n\n# How to use\nAdd the `.dll` to your .NET Project's `References` Tree in the Solution View.\n\n_Side note: ClipboardMonitor has to create a Window in order to get hwnd to process WndProc messages in WPF. I've made the Window so that it is not visible but keep in mind that there is a WPF Window created once in the background._\n\nAttach (C#):\n\n```C#\nvar cm = new ClipboardMonitor();\ncm.ClipboardData += (ClipboardDataEventArgs args) =\u003e {\n    MessageBox.Show($\"Clipboard Changed! {args.Data.ToString()}\");\n};\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrousavy%2Fclipboardmonitor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrousavy%2Fclipboardmonitor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrousavy%2Fclipboardmonitor/lists"}