{"id":25902514,"url":"https://github.com/jitbit/windefender","last_synced_at":"2026-03-04T18:03:52.500Z","repository":{"id":149816298,"uuid":"501583631","full_name":"jitbit/WinDefender","owner":"jitbit","description":"Invoke Windows Defender scan from C# .NET Core","archived":false,"fork":false,"pushed_at":"2023-10-25T08:19:15.000Z","size":15,"stargazers_count":19,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-17T18:34:38.365Z","etag":null,"topics":["antivirus","dotnet","windows-defender"],"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/jitbit.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-06-09T09:15:29.000Z","updated_at":"2025-08-06T02:41:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"e3c4051f-ba69-4d6a-af35-568b8b36b5c6","html_url":"https://github.com/jitbit/WinDefender","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jitbit/WinDefender","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitbit%2FWinDefender","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitbit%2FWinDefender/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitbit%2FWinDefender/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitbit%2FWinDefender/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jitbit","download_url":"https://codeload.github.com/jitbit/WinDefender/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitbit%2FWinDefender/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30088344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T15:40:14.053Z","status":"ssl_error","status_checked_at":"2026-03-04T15:40:13.655Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["antivirus","dotnet","windows-defender"],"created_at":"2025-03-03T03:16:37.531Z","updated_at":"2026-03-04T18:03:52.492Z","avatar_url":"https://github.com/jitbit.png","language":"C#","readme":"# WinDefender - Windows Defender C# API\n\nInvokes Windows Defender scan from C# .NET Core 6 (on Windows). Works even in ASP.NET\n\n## Usage\n\nAdd [this file](/WinDefender.cs) to your project then call:\n\n```csharp\n//check by filename\nbool isVirus = await WinDefender.IsVirus(@\"c:\\path\\to\\file\");\n\n//check by byte array\nbyte[] fileContents = ReadFileFromSomewhere();\nbool isVirus = await WinDefender.IsVirus(fileContents);\n\n//cancellation token support if you want ot abort\nbool isVirus = await WinDefender.IsVirus(fileContents, cancellationToken);\n\n```\n\n## Background\n\nWindows defender comes with a CLI tool. It does not launch the actual antivirus process, it's just a CLI-API to the antivirus that is always running. Even if you have \"real time protection\" disabled (recommended for server environment) the CLI still works.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjitbit%2Fwindefender","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjitbit%2Fwindefender","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjitbit%2Fwindefender/lists"}