Hi,
can any one please help me in the following problem in VB.NET?
I am New to VB.NET.
I'll try.
The user will enter some details in the Text box. I want to encrypt
it and save it as a encrypted text file. Encryption logic is already
available in VB.NET, HOw will i create the DLL and use the Dll
methods in the VB form.
To use a dll: Add a reference to it to the project and you will be able to
call the methods ... of course you'll have to import the namespace which is
used in the dll as well.
But:
Encryption algorithms should never be written by yourself - the .NET
framework has everything on board ( just have a look at the
System.Security.Cryptography namespace). "Selfmade" algorithms are never
really safe ... you should really use the stuff that comes with the .NET
Framework ( it's basically using the crypto-API of Windows).
Regards,
--
Frank Eller [.NET MVP]
www.frankeller.de
..NET Developers Group Munich-
www.munichdot.net