Resource assembly on CD
-
Hi, I'm creating a C# win app with a rather large Resource Assembly (many small movies), so I don't want the resources to be installed on the harddisk. Rather on runtime I want to extract some resources from the assembly and save it somewhere in a temp dir on the hard disk. After using it, it will be deleted from the harddisk. Is it possible to access resource assemblies that reside on a CD? and if yes how? If no, what would be another good way to store these resources on the disk, but not in a way that just any user can copy the movies from the disk and distribute them without our permission? Thanks!!
-
Hi, I'm creating a C# win app with a rather large Resource Assembly (many small movies), so I don't want the resources to be installed on the harddisk. Rather on runtime I want to extract some resources from the assembly and save it somewhere in a temp dir on the hard disk. After using it, it will be deleted from the harddisk. Is it possible to access resource assemblies that reside on a CD? and if yes how? If no, what would be another good way to store these resources on the disk, but not in a way that just any user can copy the movies from the disk and distribute them without our permission? Thanks!!
You say they're videos..If the routines you're using to play them are capable of taking byte[]'s, you could store the videos in an arbitrary binary format....What I mean is you can perhaps create a struct that holds a string describing the video and a byte[] that has the actual video data, then serialize that out to a binary file...Your customers would probably have a hard time getting anything out of that.
-
You say they're videos..If the routines you're using to play them are capable of taking byte[]'s, you could store the videos in an arbitrary binary format....What I mean is you can perhaps create a struct that holds a string describing the video and a byte[] that has the actual video data, then serialize that out to a binary file...Your customers would probably have a hard time getting anything out of that.