title: Is Possible to call unmanaged code in ASP.NET website?
body: <p>In My ID-card read application I am importing some unmanaged code (dll) for authentication. I am unable to import this DLL. I am not getting any errors with it, but the DLL is not getting imported and isn't accessible. It is working in a Windows form when it was done in web application. I am not getting the output. Can I have some ideas or some examples, about how to use it?
  Here's my code:</p>
  
  <pre><code> /// &lt;param name="readerNumber"&gt;The reader number.&lt;/param&gt;
          [DllImport("EIDReader.dll", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
          internal static extern void InitSelectedReaderEx(ManagerData data, int readerNumber);
  
  [DllImport("EIDReader.dll", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
      [return: MarshalAs(UnmanagedType.Bool)]
      internal static extern bool ReadSISCard([In, Out] SISRecord identity);
  </code></pre>