Click here to Skip to main content
14,382,825 members
Rate this:
Please Sign up or sign in to vote.
See more:
I am new one to C# programming I have developed an application to display different video clips all the clips are put into a folder. when I install another computer using the setup file all these clips are put into a folder inside the program folder. user can see the clips in the folder. my problem is those clips inside the folder should be invisible to the user OR cannot be copies please any one help me....

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

You can't really hide them - you can set the File Attribute Hidden bit, but even then the user can see them if he changes the Windows Explorer View options.
Depending on how you are viewing them, you could try changing the extensions so they are not obvious as video files, or adding them as embedded videos to your application. Alternatively, you may be able to insert them into a ZIP or RAR archive and password protect it - but it depends on how you show them.

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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100