Nuget and export DLL's in VB.net 2010

Topics: General
Mar 27, 2013 at 5:16 PM
Hi to all:

I had installed nuget Unmanaged exports in my VS2010, and i had create this lines of code:
Imports System.Runtime.InteropServices
Imports RGiesecke.DllExport

Public Class Test
   <DllExport("add")> _
   Public Function TestExport(left As Int32, right As Int32) As Int32
      Return left + right
   End Function
End Class
1)first of all i would like to know if the ("add") it's a command or we need to put here the name of the function.

2)Then i have properties in the package, and where i can find information about this properties?

3)The .dll it's ready for send functions himself? or i need to do something more!

Thanks in advance