<PackageReference Include="NETStandard.Library" Version="2.0.3" />

System.Runtime.InteropServices.DllImportAttribute

public sealed class DllImportAttribute : Attribute
namespace System.Runtime.InteropServices { public sealed class DllImportAttribute : Attribute { public bool BestFitMapping; public CallingConvention CallingConvention; public CharSet CharSet; public string EntryPoint; public bool ExactSpelling; public bool PreserveSig; public bool SetLastError; public bool ThrowOnUnmappableChar; public string Value { get; } public DllImportAttribute(string dllName); } }