I have some C source code that I have compiled into a dll that I now include
in my web site in the bin directory. The code is used to generate secure
passwords etc and is located here:
http://www.aspheute.com/english/20040105.asp
The example for using these functions is also written in C however I an
using VB and am unable to translate the code to VB.
The problem I am encountering is that the class Password conflicts with the
function Password.
My attempt to obtain a random password, random salt and hashed password
using the compiled dll is as follows:
Dim securitysystem As DotNetGermanUtils.Password = New
DotNetGermanUtils.Password()
Dim RandomPassword as String = securitysystem.CreateRandomPassword(8)
Dim RandomSalt as Integer = securitysystem.CreateRandomSalt()
Dim HashedPassword As securitysystem.Password(RandomPassword, RandomSalt)
This code returns the following error on the first line of the code above:
Compiler Error Message: BC30455: Argument not specified for parameter
'nSalt' of 'Public Sub New(strPassword As String, nSalt As Integer)'.
Thanks
Murphy