Represents a 64-bit optional header of a TUP.AsmResolver.Win32Assembly.
Inheritance: IOptionalHeader, IHeader
Exemple #1
0
        /// <summary>
        /// Gets the 64 bit optional header by specifing a 64 bit assembly.
        /// </summary>
        /// <param name="assembly">The assembly to read the optional header</param>
        /// <returns></returns>
        public static OptionalHeader64 FromAssembly(Win32Assembly assembly)
        {
            OptionalHeader64 a = new OptionalHeader64();

            a.assembly = assembly;
            a.header   = assembly.headerReader;
            return(a);
        }
Exemple #2
0
 /// <summary>
 /// Gets the 64 bit optional header by specifing a 64 bit assembly.
 /// </summary>
 /// <param name="assembly">The assembly to read the optional header</param>
 /// <returns></returns>
 public static OptionalHeader64 FromAssembly(Win32Assembly assembly)
 {
     OptionalHeader64 a = new OptionalHeader64();
     a.assembly = assembly;
     a.header = assembly._headerReader;
     return a;
 }