OS : Windows XP Professional
Environment : MS Visual Studio 2005
Language : C#
Hi, I am trying to write a windows application using C# that accesses
the Aladdin Etoken Pro USB device. (www.aladdin.com)
I am using [DllImport("eToken.dll")] to import functions but i am not
sure about the following things :
1, Can i just only import 1 function at a time ?
2, What happens when the unmanaged function in the dll that i am
importing has data types that do not exist in the class under C# ? Do
i use the MarshallbyAttribute function or how does it work ?
3, Does someone have a c# sample about importing unmanaged functions
via dll ?
Any help welcome ! I spend my whole day on this so i want to get going.
Seems like that there aren't a lot of people out there whom want to
program the etoken in C#.
Zoltan.