{"id":28408857,"url":"https://github.com/psulek/dotscreen","last_synced_at":"2026-05-10T02:35:24.823Z","repository":{"id":101683355,"uuid":"593781574","full_name":"psulek/dotscreen","owner":"psulek","description":"DotScreen is library to get information about system screens in applications without dependency on WinForms or WPF.","archived":false,"fork":false,"pushed_at":"2023-12-09T12:35:06.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-02T13:11:45.343Z","etag":null,"topics":["console","desktop","screen","winforms","wpf"],"latest_commit_sha":null,"homepage":"","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/psulek.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,"governance":null}},"created_at":"2023-01-26T20:32:13.000Z","updated_at":"2023-01-28T19:53:14.000Z","dependencies_parsed_at":"2023-12-09T13:42:04.874Z","dependency_job_id":null,"html_url":"https://github.com/psulek/dotscreen","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/psulek/dotscreen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psulek%2Fdotscreen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psulek%2Fdotscreen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psulek%2Fdotscreen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psulek%2Fdotscreen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/psulek","download_url":"https://codeload.github.com/psulek/dotscreen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psulek%2Fdotscreen/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261766589,"owners_count":23206652,"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":["console","desktop","screen","winforms","wpf"],"created_at":"2025-06-02T04:37:53.967Z","updated_at":"2026-05-10T02:35:24.750Z","avatar_url":"https://github.com/psulek.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DotScreen\n**DotScreen** is library to get information about system screens in applications without dependency on WinForms or WPF.\n\n\u003e Primary console/library projects will benefit using this library as they dont want direct dependency on Winforms nor WPF\n\n### Install\nInstall nuget package - [ScaleHQ.DotScreen](https://www.nuget.org/packages/ScaleHQ.DotScreen/)\n\nor via *dotnet CLI*:\n```bash\ndotnet add package ScaleHQ.DotScreen --prerelease\n```\n\n### API\nClass `ScaleHQ.DotScreen.Screen.Screen` has almost all properties matching `System.Windows.Forms.Screen`.\n\nThere is only difference in namespace, instead of `System.Windows.Forms` there is `ScaleHQ.DotScreen.Screen`.\n\n```c#\nforeach (var screen in ScaleHQ.DotScreen.Screen.AllScreens)\n{\n    string deviceName = screen.DeviceName;\n    Rectangle bounds = screen.Bounds;\n    Rectangle workingArea = screen.WorkingArea;\n    // rest...\n}\n\n```\n\nIn **DotScreen** there are some additions to `Screen` class:\n- ScaleFactor (double)\n- WorkingAreaScaled (RectangleD)\n- BoundsScaled (RectangleD)\n- SystemVirtualScreen (Rectangle)\n- SystemVirtualScreenScaled (RectangleD)\n- MultiMonitorSupport (bool)\n- IsProcessDPIAware (bool)\n- ...\n\n\u003e There is not need to add \\\u003cUseWPF\u003e or \\\u003cUseWindowsForms\u003e into project (csproj) file when using DotScreen\n\n### Remark\nThis library is port of [WpfScreenHelper](https://www.nuget.org/packages/WpfScreenHelper). \nIt avoids dependencies on Windows Forms and WPF libraries.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsulek%2Fdotscreen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsulek%2Fdotscreen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsulek%2Fdotscreen/lists"}