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
sumit kumar
NA
3
711
how to read audio file from lock folder of the system in c#
Dec 3 2015 4:38 AM
*-- Code to lock the folder
DirectoryInfo d = new DirectoryInfo(folderDialog.SelectedPath);
try
{
string selectedpath = d.Parent.FullName + d.Name;
if (folderDialog.SelectedPath.LastIndexOf(".{") == -1)// if folder is unlock
{
//if (checkBox1.Checked)
//setpassword(folderBrowserDialog1.SelectedPath); // password not required to lock the folder
if (!d.Root.Equals(d.Parent.FullName))
d.MoveTo(d.Parent.FullName + "\\" + d.Name + _lockKey);
else d.MoveTo(d.Parent.FullName + d.Name + _lockKey);
tb_SlctFldr.Text = folderDialog.SelectedPath;
// pictureBox1.Image = Image.FromFile(Application.StartupPath + "\\lock.jpg");
}
now folder is locked, how can i read the file from locked folder without unlocking folder
Reply
Answers (
0
)
Why do we need Indexers in C#?
What is happening inside when you add button in winform?