灵感菇

AI 技能的自然生态,你的一句话,蔓延出无限连接。

返回搜索

通用助手 / 编排推荐

dotnet-pinvoke

dotnet-pinvoke

安装量 295GitHub Stars 1,709更新时间 2026年5月16日

描述

Correctly call native (C/C++) libraries from .NET using P/Invoke and LibraryImport. Covers function signatures, string marshalling, memory lifetime, SafeHandle, and cross-platform patterns. USE FOR: writing new P/Invoke or LibraryImport declarations, reviewing or debugging existing native interop code, wrapping a C or C++ library for use in .NET, diagnosing crashes, memory leaks, or corruption at the managed/native boundary. DO NOT USE FOR: COM interop, C++/CLI mixed-mode assemblies, or pure managed code with no native dependencies.

安全审计

使用前的风险提示

未审计

规则审计

未审计
更新 1年1月1日

智能审计

未审计
更新 1年1月1日
uidebuggingdotnetpinvokecorrectlycallnativelibrariesnetusinginvokeand