Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to call VFP function from .NET C# code?
Message
De
04/01/2015 08:56:45
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01612997
Message ID:
01613011
Vues:
66
>>If all this function does is encrypt a password there are lots of examples written in c# out there ( Google is your friend )
>
>I did but so for I could not find a simple enough c# encrypt function that can be "duplicated" in VFP. You see I need a function that would do the same from VFP and c# end.
>Thank you.

Presumably you mean that the C# version should be usable with strings already encoded using the VFP cipher library that you mentioned?

Al's pointer to Rick's paper is still valid - you could create a small VFP com interop which could be accessed from .net.

But which functions of that library do you actually use ? - the core encryption is fairly straightforward.
I took a look at the original C code and it would seem that a C# version should be simple enough to implement......
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform