I have a requirement to implement a USB security key into the security model of our software. I purchased an evaluation kit from a company who claims it has a number of clients who use the dongle in ASP.NET applications. The sample code is VB.NET, but its windows form. The steps I have taken so far don't produce an error, but it also doesn't work. The lines of code that I think are giving me the problem are the ones that refer to the DLL.
Declare Function KFUNC Lib "KL2DLL32.DLL" Alias "_KFUNC@16" (ByVal arg1 As Integer, ByVal arg2 As Integer, ByVal arg3 As Integer, ByVal arg4 As Integer) As Integer
Does anyone have experience in migrating from vb.net to asp.net or recognize how the statement above may be the problem OR have any ideas on how to move forward through this?