Added CsWin32

This commit is contained in:
Benjamin Höglinger-Stelzer 2022-09-26 21:04:35 +02:00
parent 2424f26755
commit 8d0a29c0b7
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,16 @@
CreateFile
GetHandleInformation
SetCommState
SetCommTimeouts
SetupComm
WriteFile
SetCommMask
WaitCommEvent
CancelIo
ReadFile
TransmitCommChar
EscapeCommFunction
GetCommModemStatus
GetOverlappedResult
ClearCommError
GetCommProperties

View File

@ -3,6 +3,7 @@
<TargetFramework>netstandard2.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>Ebrahim Byagowi, Benjamin Höglinger-Stelzer</Authors>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PackageProjectUrl>https://github.com/nefarius/PInvokeSerialPort</PackageProjectUrl>
<RepositoryUrl>https://github.com/nefarius/PInvokeSerialPort</RepositoryUrl>
<PackageId>Nefarius.Peripherals.SerialPort</PackageId>
@ -27,4 +28,10 @@
<PackagePath></PackagePath>
</None>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.2.63-beta">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
</Project>