This sample shows a very simple example of building an Arduino Wiring library and referencing it from a C# app. We've added a public WinRT class to the Arduino Wiring project that exposes basic LED control and calls into the functions defined in the standard ".ino" file. The C# project simply references this component and is able to directly use that public library.
Unfortunately, GitHub does not support downloading individual code.
Navigate to ms-iot/samples and select Clone or download to download the whole repository.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.