>>The function is cipher() which was created by Sergey Berezniker. I use this function in my VFP application to encrypt the password field. To make this field compatible with ASP.NET app I need to have this function. It is probably possible to write this function in C# but I don't have enough knowledge of C# to do it. This is why I thought that if I could create DLL or EXE with VFP (that has this function) I could then call it from ASP.NET.
>>
>>>What function is it? Surely it can be duplicated in C#.
>>>
>>>
>>>>If I want to use a VFP function in my ASP.NET program (using C#), how can I call it (if possible)?
>>>>
>>>>TIA
>
>This is for an ASP.NET application? Why not just use built in Forms Authentication capabilities?
As I mentioned the fields I need to access from ASP.NET are encrypted with VFP cipher function (created by Sergey B.). And did find my conversion of the VFP code into the C# code. I simply forgot that I already did it some months ago.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham