CANUSB Library written in C# Icon

CANUSB Library written in C#

Simplify code and deployment of your CANBUS software application

3.5 Stars (2)
25 Downloads (This Week)
Last Update:
Browse All Files



This is a C# library dedicated for using with a device
Full notes: See ReadMe.txt

The LAWICEL DLL is 'unmanaged code' and was not designed for use by C#/VB/Mono
If you wish to call 'unmanaged code' from 'managed code', you need to use a 'C# wrapper' to access the DLL. This wrapper uses 'PInvoke' (like peek/poke) to 'martial' calls from managed to unmanaged code. It sounds complicated, and it is.
IT IS ALSO TOTALLY UNNECESSARY. Why not have the DLL as managed code?? Why not simply reference the library in your project and just call its functions?? This project does just that

LGPLV3.: In summary, the only thing we ask is if you improve / bugfix / extend the library then feed these changes back into the project by emailing jon_newcomb or requesting sourceforge access. Applications you develop that use this library are not covered by this licence and can remain closed source and commercial

CANUSB Library written in C# Web Site


  • A CANUSB Library written in C# that can be referenced in your C# / VB project
  • AVOID ‘PInvoke’ / Wrappers / marshalling calls to Unmanaged code. It’s just nasty and unnecessary!
  • AVOID the need to install DLLs into the system directory
  • Your application 'pulls' CAN messages from a the CANUSB Library queue
  • A separate can message object helps user creates and handles messages more easily.
  • Example software is provided
  • Callback on message received not supported, but easily added.


User Ratings

ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 1 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
Write a Review

User Reviews

  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Previous review incorrectly assumes this project is a wrapper for the Lawicel canusb C++ DLL. It is not. This project is an alternative that does not use any Lawicel software. See the ReadMe.txt in code download for a more detailed description of what this project is. Includes FAQ. (Posted by project admin)

    Posted 08/18/2016
  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    This still uses unmanaged code. What I expected was that this library would open the USB device directly and communicate with it. but in fact it's just wrapping the native DLLs just like PInvoke. no use, as still alot of unmanaged (and buggy) code is involved

    Posted 03/11/2016
Read more reviews

Additional Project Details

Intended Audience

Automotive, Engineering, Manufacturing

Programming Language




Thanks for helping keep SourceForge clean.

Screenshot instructions:
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks