dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.04k stars 4.68k forks source link

Proposal: Intorduce a new auto-property DOSHeader to file System/Reflection/PortableExecutable/PEHeaders.cs #13902

Closed sohail closed 4 years ago

sohail commented 9 years ago

We've PEHeader and CoffHeader properties class PEHeaders(namespace System.Reflection.PortableExecutable), which return the instances of their respective classes, I propose a new property by the name of DOSHeader which will return the DOS header and DOS stub.

tmat commented 9 years ago

What information are you looking for? MSDOS header doesn't seem to have anything interesting in it. It's essentially just a constant.

nguerrera commented 9 years ago

This was associated with PR dotnet/corefx#162 , which is closed. So I'm closing this as well. As I said on the PR, if there is a scenario we're missing, we can consider re-opening it. I agree with @tmat that it doesn't seem useful.