{"adoption": {"forks": 223, "observed_at": "2026-08-28T04:06:22.990980+00:00", "stars": 2178}, "canonical_url": "https://ross.abutalabs.com/products/pinvoke", "card": {"archived": true, "artifact_type": "library", "description": "A library containing all P/Invoke code so you don't have to import it every time. Maintained and updated to support the latest Windows OS.", "domain": ["windows", "developer-tools", "apis"], "enriched": true, "function": ["sdk", "developer-tools"], "health_score": 10, "homepage": null, "language": "C#", "license": "MIT", "license_family": "permissive", "maturity": "abandoned", "member_repos": ["dotnet/pinvoke"], "name": "dotnet/pinvoke", "platform": ["windows", "dotnet", "cross-platform"], "pushed_at": "2023-07-26T11:36:20+00:00", "repo": "dotnet/pinvoke", "stars": 2178, "tags": ["pinvoke", "interop", "win32", "csharp", "nuget", "native-interop"], "topics": ["pinvoke", "dotnet", "interop"], "urls": [], "use_cases": ["call win32 apis from c#", "p/invoke signatures for bcrypt or kernel32", "avoid hand-writing dllimport declarations", "build windows store apps using native apis", "interop with native libraries from .net"], "what_it_is": "A collection of .NET libraries providing pre-written, compile-verified P/Invoke signatures for Win32 and other native libraries, packaged as NuGet packages per native DLL. It offers higher-level APIs (SafeHandles, enums, XML docs) instead of raw IntPtr and uint flags.", "when_to_avoid": ["starting a new C# project - use CsWin32 instead, which is the recommended successor", "you need actively maintained support for the latest Windows APIs"], "when_to_choose": ["maintaining a legacy .NET Framework or .NET Core app that already depends on these packages", "you need quick, tested P/Invoke signatures for common Win32 DLLs on older .NET targets"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/pinvoke", "repo": "dotnet/pinvoke", "role": "main", "score": 10}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:22.990980+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:48:48.629998+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "30253e66885c5636017f3bed69026136dd13a2a79e16cd7805105fa5068d3e0f", "fetched_at": "2026-08-28T04:06:22.990980+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dotnet/pinvoke"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:22.990980+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:48:48.629998+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "30253e66885c5636017f3bed69026136dd13a2a79e16cd7805105fa5068d3e0f", "fetched_at": "2026-08-28T04:06:22.990980+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dotnet/pinvoke"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:48:48.629998+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "30253e66885c5636017f3bed69026136dd13a2a79e16cd7805105fa5068d3e0f", "fetched_at": "2026-08-28T04:06:22.990980+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dotnet/pinvoke"}], "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:22.990980+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:22.990980+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:22.990980+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:48:48.629998+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "30253e66885c5636017f3bed69026136dd13a2a79e16cd7805105fa5068d3e0f", "fetched_at": "2026-08-28T04:06:22.990980+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dotnet/pinvoke"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:22.990980+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:22.990980+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:48:48.629998+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "30253e66885c5636017f3bed69026136dd13a2a79e16cd7805105fa5068d3e0f", "fetched_at": "2026-08-28T04:06:22.990980+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dotnet/pinvoke"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:22.990980+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:22.990980+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:22.990980+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:48:48.629998+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "30253e66885c5636017f3bed69026136dd13a2a79e16cd7805105fa5068d3e0f", "fetched_at": "2026-08-28T04:06:22.990980+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dotnet/pinvoke"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:22.990980+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:22.990980+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:48:48.629998+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "30253e66885c5636017f3bed69026136dd13a2a79e16cd7805105fa5068d3e0f", "fetched_at": "2026-08-28T04:06:22.990980+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dotnet/pinvoke"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:48:48.629998+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "30253e66885c5636017f3bed69026136dd13a2a79e16cd7805105fa5068d3e0f", "fetched_at": "2026-08-28T04:06:22.990980+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dotnet/pinvoke"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:48:48.629998+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "30253e66885c5636017f3bed69026136dd13a2a79e16cd7805105fa5068d3e0f", "fetched_at": "2026-08-28T04:06:22.990980+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dotnet/pinvoke"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:48:48.629998+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "30253e66885c5636017f3bed69026136dd13a2a79e16cd7805105fa5068d3e0f", "fetched_at": "2026-08-28T04:06:22.990980+00:00", "kind": "readme", "missing": false, "url": "https://github.com/dotnet/pinvoke"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["archived"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3968, "days_push": 1134, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 10, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}