[Message Deleted]
-
Hi, what do you mean with program files? If these are text files, you could read the file into memory, overwrite the existing one, write your header using a StreamWriter, followed by writing the content of the file from memory. Regards Sebastian
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.
-
Hi, what do you mean with program files? If these are text files, you could read the file into memory, overwrite the existing one, write your header using a StreamWriter, followed by writing the content of the file from memory. Regards Sebastian
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.
-
So a class file is nothing more than a text file with a specific extension (e.g. cs). So you could use StreamReader/StreamWriter to add a header to each file.
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.