45 |
|
pinnedPacket.Free(); |
46 |
|
#endregion |
47 |
|
|
48 |
+ |
|
49 |
+ |
|
50 |
|
br.Close(); |
51 |
|
} |
52 |
|
|
67 |
|
[StructLayout(LayoutKind.Sequential)] |
68 |
|
public struct IMAGE_FILE_HEADER |
69 |
|
{ |
70 |
< |
public UInt16 Machine; |
70 |
> |
public MachineType Machine; |
71 |
|
public UInt16 NumberOfSections; |
72 |
|
public UInt32 TimeDateStamp; |
73 |
|
public UInt32 PointerToSymbolTable; |
74 |
|
public UInt32 NumberOfSymbols; |
75 |
|
public UInt16 SizeOfOptionalHeader; |
76 |
< |
public UInt16 Characteristics; |
76 |
> |
public DllCharacteristicsType Characteristics; |
77 |
|
} |
78 |
|
#endregion |
79 |
|
#region IMAGE_DOS_HEADER |
171 |
|
} |
172 |
|
#endregion |
173 |
|
#region DllCharacteristicsType |
174 |
+ |
[Flags] |
175 |
|
public enum DllCharacteristicsType : ushort |
176 |
|
{ |
177 |
|
RES_0 = 0x0001, |