c# - Copy file contents without copying file properties -
before read on there similar question asked me @ how remove special characters file metadata c#. question not specific file type(image, video, audio, text, word, excel.). not asking how file's extended properties , how set them.
is possible copy file contents 1 file without copying file's extended properties.
please check following image mean extended properties.
note: ignore highlighting. doesn't mean here.
i want file contents don't want title, subject, rating, tags, comments, authors etc. (none of properties, irrespective of file type.).
thanks.
you'll find easier modifying extended properties after file has copied. take @ file class, has methods setting modified date, etc.
for title etc. have use com, shell32.dll allow this:
http://www.codeproject.com/cs/files/detailedfileinfo.asp
to alter these properties have use com component. looks dsofile.dll you. there ms kb article on here
you might take @ taglib# although don't know if has ability work generically.
Comments
Post a Comment