TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Robin Bura
NA
194
1.1k
Decrypting multiple text files and storing in multiple text
Dec 23 2014 12:33 AM
I have a program given below. I wanna process multiple text file at once and display the result in different text file.
Please help.
namespace TMSDescriptionSample
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
string error = "";
string encryptedText = File.ReadAllText(AppDomain.CurrentDomain.BaseDirectory + "input.txt");
string decryptedText = TMSDecryptionAPI.DecryptString(encryptedText, ref error); //pass the encrypted text to this function and it will return the decrypted text.
File.WriteAllText(AppDomain.CurrentDomain.BaseDirectory + "ouput.txt", decryptedText);
MessageBox.Show("Done");
}
}
}
Reply
Answers (
10
)
Dynamic image in login page
Combobox error in c#