那位有磁卡读写器的类库,支持.net的,请介绍一下~

解决方案 »

  1.   

    每种读卡器有每种的库和函数, LZ要用哪种?
    基本调用办法
    [DllImport("硬件的DLL名.dll",CharSet=CharSet.Ansi)]   
      public   static   unsafe   extern   uint   PowerOn();   
        
      [C#]     
      using   System.Runtime.InteropServices;   
      public   class   Win32   {   
              [DllImport("user32.dll",   CharSet=CharSet.Unicode,     
                                    ExactSpelling=true)]   
              public   static   extern   int   MessageBoxW(int   hWnd,   String   text,   String     
                                                                                          caption,   uint   type);   
      }