{"id":26372732,"url":"https://github.com/alexrasch/hvncsharp","last_synced_at":"2025-06-28T14:37:39.139Z","repository":{"id":281416199,"uuid":"945214197","full_name":"AlexRasch/HVNCSharp","owner":"AlexRasch","description":"Using Windows API CreateDesktop to create a new desktop.","archived":false,"fork":false,"pushed_at":"2025-03-08T23:25:24.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T01:18:58.045Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlexRasch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-08T23:07:43.000Z","updated_at":"2025-03-08T23:25:27.000Z","dependencies_parsed_at":"2025-03-09T00:17:25.348Z","dependency_job_id":"c7c9994b-3f5d-4bd1-9d40-8ff40d6d477f","html_url":"https://github.com/AlexRasch/HVNCSharp","commit_stats":null,"previous_names":["alexrasch/hvncsharp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AlexRasch/HVNCSharp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexRasch%2FHVNCSharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexRasch%2FHVNCSharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexRasch%2FHVNCSharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexRasch%2FHVNCSharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlexRasch","download_url":"https://codeload.github.com/AlexRasch/HVNCSharp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexRasch%2FHVNCSharp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262446987,"owners_count":23312672,"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":[],"created_at":"2025-03-17T01:19:05.335Z","updated_at":"2025-06-28T14:37:39.112Z","avatar_url":"https://github.com/AlexRasch.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HVNCSharp\n\nCreating just for fun, experimenting with CreateDesktop. The PoC is unfinished; it currently uses `CreateDesktop` from the Windows API to create a new desktop, switches to it, and starts `Explorer`. Running as Admin from Visual Studio or compiled results in a mostly blank screen.\n\nThe repo includes Server and Client projects, which don’t work yet. I started on them but hit issues with a blank screen and process creation. I might fix them later if time and motivation align.\n\nI’m not planning to add features like mouse movement, but getting Explorer running and sending a screenshot would be a neat goal.\n\n## Credits\n- [CodeProject: Desktop Switching](https://www.codeproject.com/KB/cs/csdesktopswitching.aspx)  \n  Inspired my approach to use `CreateProcess` from kernel32.dll with STARTUPINFO’s `lpDesktop` parameter for desktop-specific process creation, bypassing the .NET Process class for now.\n\n- [GitHub: MalwareTech/HiddenDesktop](https://github.com/MalwareTech/HiddenDesktop)  \n  Provided useful reference for hidden desktop concepts.\n\n- [Stack Overflow: Grey screen when using CreateDesktop](https://stackoverflow.com/questions/72457608/grey-screen-when-using-createdesktop-no-taskbar-or-icon-showing)  \n  Key insight: the blank screen was due to running as Administrator. Running in user context made it work—crucial for debugging my issue.\n\n- [Microsoft Docs: CreateDesktopA](https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-createdesktopa)  \n  Official documentation for the `CreateDesktop` API.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexrasch%2Fhvncsharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexrasch%2Fhvncsharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexrasch%2Fhvncsharp/lists"}