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....
Problem on Hiding video files
Page 1 of 17 Replies - 274 Views - Last Post: 03 October 2012 - 09:26 AM
Replies To: Problem on Hiding video files
#2
Re: Problem on Hiding video files
Posted 02 October 2012 - 12:34 AM
Invisible through Windows, or invisible through your application?
"when I install another computer using the setup file" - is it just me that doesn't get this? Sorry, don't know what you mean.
"when I install another computer using the setup file" - is it just me that doesn't get this? Sorry, don't know what you mean.
#3
Re: Problem on Hiding video files
Posted 02 October 2012 - 12:56 AM
Dude, won't happen. Its their computer. They are owner and god of it. If they have set permissions in explorer to show hidden and system files there's nothing you can do.
You would want someone to have that power over a computer that YOU own.
You would want someone to have that power over a computer that YOU own.
#4
Re: Problem on Hiding video files
Posted 02 October 2012 - 12:58 AM
You want the files to be hidden?
You can use the File class for that.
You can use the File class for that.
File.setAttributes("path", FileAttributes.Hidden);
#5
Re: Problem on Hiding video files
Posted 02 October 2012 - 08:41 AM
I think everyone's kinda missed the point. If these videos are resources to the application, they can be embedded as part of the assembly by setting the Build Action property of the file (from the Solution Explorer) to "Embedded Resource". They'll be part of the .exe and not visible in the folder, though it's possible to decompile or deconstruct the .exe with the proper programs.
Of course, now you have to load the videos from the assembly's manifest resource stream, which is doable but not as simple as loading from the file system.
Of course, now you have to load the videos from the assembly's manifest resource stream, which is doable but not as simple as loading from the file system.
#6
Re: Problem on Hiding video files
Posted 02 October 2012 - 10:46 AM
OR u can upload those videos anywhere and streaming on your app.
#7
Re: Problem on Hiding video files
Posted 02 October 2012 - 11:52 AM
Yeah, it's a great idea to burn up people's bandwidth, and rely on online resources that don't have to be online.
#8
Re: Problem on Hiding video files
Posted 03 October 2012 - 09:26 AM
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote






|