Click here to Skip to main content
15,900,511 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi....
i want to generate encryption key at the time of file download after generate it wanna send to mail the generated key...
and also i want to store the key in database for retrieval checker...
after checked the key... user can download the file....

how to create key and mail to the corresponding user whose mail id is already stored in database...
how?
Posted
Updated 2-Nov-11 8:40am
v2

1 solution

Well to generate an encrypted key, take a look at Encrypt and Decrypt data[^] a CodeProject Q/A. To send mail to a user use System.Net.Mail namespace with MailMessage[^] class.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900