{"adoption": {"forks": 123, "observed_at": "2026-08-28T04:06:57.790858+00:00", "stars": 2518}, "canonical_url": "https://ross.abutalabs.com/products/cswin32", "card": {"archived": false, "artifact_type": "library", "description": "A source generator to add a user-defined set of Win32 P/Invoke methods and supporting types to a C# project.", "domain": ["developer-tools", "windows", "apis"], "enriched": true, "function": ["developer-tools"], "health_score": 99, "homepage": "https://microsoft.github.io/CsWin32/", "language": "C#", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["microsoft/CsWin32"], "name": "microsoft/CsWin32", "platform": ["windows", "dotnet", "cross-platform"], "pushed_at": "2026-08-26T06:16:53+00:00", "repo": "microsoft/CsWin32", "stars": 2518, "tags": ["source-generator", "p-invoke", "win32", "com-interop", "csharp", "roslyn", "code-generation", "interop"], "topics": [], "urls": [], "use_cases": ["call Win32 APIs from C# without hand-writing P/Invoke signatures", "generate type-safe interop bindings for Windows SDK functions", "use COM interfaces from .NET with proper marshaling", "avoid manual DllImport declarations and unsafe code", "get SafeHandle-based resource management for native handles"], "what_it_is": "A C# source generator that emits strongly-typed P/Invoke and COM interop bindings for Win32 APIs from .winmd metadata. It generates friendly overloads, SafeHandle support, and XML docs at compile time without shipping extra assemblies.", "when_to_avoid": ["you target non-Windows platforms exclusively", "you need cross-platform native interop beyond Win32 metadata", "your project does not use Roslyn source generators"], "when_to_choose": ["you need to call Win32 or COM APIs from a C# project", "you want compile-time generated, strongly-typed interop code", "you prefer no runtime interop assembly dependency"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/cswin32", "repo": "microsoft/CsWin32", "role": "main", "score": 96}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:57.790858+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:26:07.945057+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3acca83def4bb316e0b81b3db5eb7e61931ec2945de0e41d23a1ad323523a0f1", "fetched_at": "2026-08-28T04:06:57.790858+00:00", "kind": "readme", "missing": false, "url": "https://github.com/microsoft/CsWin32"}, {"content_hash": "32a809a611ad4397142e9db9ac6e0858041b83fc0ad487526517d08eec6e4575", "fetched_at": "2026-08-29T10:08:14.575844+00:00", "kind": "homepage", "missing": false, "url": "https://microsoft.github.io/CsWin32/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:57.790858+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:26:07.945057+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3acca83def4bb316e0b81b3db5eb7e61931ec2945de0e41d23a1ad323523a0f1", "fetched_at": "2026-08-28T04:06:57.790858+00:00", "kind": "readme", "missing": false, "url": "https://github.com/microsoft/CsWin32"}, {"content_hash": "32a809a611ad4397142e9db9ac6e0858041b83fc0ad487526517d08eec6e4575", "fetched_at": "2026-08-29T10:08:14.575844+00:00", "kind": "homepage", "missing": false, "url": "https://microsoft.github.io/CsWin32/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:26:07.945057+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3acca83def4bb316e0b81b3db5eb7e61931ec2945de0e41d23a1ad323523a0f1", "fetched_at": "2026-08-28T04:06:57.790858+00:00", "kind": "readme", "missing": false, "url": "https://github.com/microsoft/CsWin32"}, {"content_hash": "32a809a611ad4397142e9db9ac6e0858041b83fc0ad487526517d08eec6e4575", "fetched_at": "2026-08-29T10:08:14.575844+00:00", "kind": "homepage", "missing": false, "url": "https://microsoft.github.io/CsWin32/"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:06:57.790858+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:57.790858+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:57.790858+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:26:07.945057+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3acca83def4bb316e0b81b3db5eb7e61931ec2945de0e41d23a1ad323523a0f1", "fetched_at": "2026-08-28T04:06:57.790858+00:00", "kind": "readme", "missing": false, "url": "https://github.com/microsoft/CsWin32"}, {"content_hash": "32a809a611ad4397142e9db9ac6e0858041b83fc0ad487526517d08eec6e4575", "fetched_at": "2026-08-29T10:08:14.575844+00:00", "kind": "homepage", "missing": false, "url": "https://microsoft.github.io/CsWin32/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:57.790858+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:57.790858+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:26:07.945057+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3acca83def4bb316e0b81b3db5eb7e61931ec2945de0e41d23a1ad323523a0f1", "fetched_at": "2026-08-28T04:06:57.790858+00:00", "kind": "readme", "missing": false, "url": "https://github.com/microsoft/CsWin32"}, {"content_hash": "32a809a611ad4397142e9db9ac6e0858041b83fc0ad487526517d08eec6e4575", "fetched_at": "2026-08-29T10:08:14.575844+00:00", "kind": "homepage", "missing": false, "url": "https://microsoft.github.io/CsWin32/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:57.790858+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:57.790858+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:57.790858+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:26:07.945057+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3acca83def4bb316e0b81b3db5eb7e61931ec2945de0e41d23a1ad323523a0f1", "fetched_at": "2026-08-28T04:06:57.790858+00:00", "kind": "readme", "missing": false, "url": "https://github.com/microsoft/CsWin32"}, {"content_hash": "32a809a611ad4397142e9db9ac6e0858041b83fc0ad487526517d08eec6e4575", "fetched_at": "2026-08-29T10:08:14.575844+00:00", "kind": "homepage", "missing": false, "url": "https://microsoft.github.io/CsWin32/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:57.790858+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:57.790858+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:26:07.945057+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3acca83def4bb316e0b81b3db5eb7e61931ec2945de0e41d23a1ad323523a0f1", "fetched_at": "2026-08-28T04:06:57.790858+00:00", "kind": "readme", "missing": false, "url": "https://github.com/microsoft/CsWin32"}, {"content_hash": "32a809a611ad4397142e9db9ac6e0858041b83fc0ad487526517d08eec6e4575", "fetched_at": "2026-08-29T10:08:14.575844+00:00", "kind": "homepage", "missing": false, "url": "https://microsoft.github.io/CsWin32/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:26:07.945057+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3acca83def4bb316e0b81b3db5eb7e61931ec2945de0e41d23a1ad323523a0f1", "fetched_at": "2026-08-28T04:06:57.790858+00:00", "kind": "readme", "missing": false, "url": "https://github.com/microsoft/CsWin32"}, {"content_hash": "32a809a611ad4397142e9db9ac6e0858041b83fc0ad487526517d08eec6e4575", "fetched_at": "2026-08-29T10:08:14.575844+00:00", "kind": "homepage", "missing": false, "url": "https://microsoft.github.io/CsWin32/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:26:07.945057+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3acca83def4bb316e0b81b3db5eb7e61931ec2945de0e41d23a1ad323523a0f1", "fetched_at": "2026-08-28T04:06:57.790858+00:00", "kind": "readme", "missing": false, "url": "https://github.com/microsoft/CsWin32"}, {"content_hash": "32a809a611ad4397142e9db9ac6e0858041b83fc0ad487526517d08eec6e4575", "fetched_at": "2026-08-29T10:08:14.575844+00:00", "kind": "homepage", "missing": false, "url": "https://microsoft.github.io/CsWin32/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:26:07.945057+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3acca83def4bb316e0b81b3db5eb7e61931ec2945de0e41d23a1ad323523a0f1", "fetched_at": "2026-08-28T04:06:57.790858+00:00", "kind": "readme", "missing": false, "url": "https://github.com/microsoft/CsWin32"}, {"content_hash": "32a809a611ad4397142e9db9ac6e0858041b83fc0ad487526517d08eec6e4575", "fetched_at": "2026-08-29T10:08:14.575844+00:00", "kind": "homepage", "missing": false, "url": "https://microsoft.github.io/CsWin32/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 89}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2101, "days_push": 7, "days_rel": 72, "gap_med": 5, "n_releases_24m": 22}, "score": 96, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}