Hid Demo

finally I could find a library in order to work with usb very easily here is the library itself.usb hid can be downloaded here which is written in c#.usb pic side can be downloaded here which is made which ccs.this code is not complete and is just for learning how... [Read More]

How to import dll C#

make a console project and paste the code.here is the code :using System;using System.Runtime.InteropServices;class Example{// Use DllImport to import the Win32 MessageBox function.[DllImport("user32.dll")]static extern int MessageBox (IntPtr hWnd, String text, String caption, uint type);static void Main(){ // Call the MessageBox function using platform invoke. MessageBox(new IntPtr(0), "Hello, World!", "Hello Dialog",... [Read More]
Tags: Csharp