The best way to work with files

What is the best way to read / write file properties (e.g. author, description, etc.) in C #? I can use dsofile.dll for this, but I am wondering if this is the right thing to do. (unmanaged code?)

Any ideas?

+5
source share
1 answer

Microsoft explicitly recommends dsofile.dll for use with .NET. Not sure why you think this would be inappropriate - in the end it uses the very code that other structured file readers also use. Repeated execution of this in managed code will be error prone and more likely to do more harm than good.

+5
source

All Articles