Beispiel #1
0
        bool IBinaryAppender <ImageBoundImportForwarderRef, ReaderWithOffsetArgs> .Attach(ref ImageBoundImportForwarderRef s, uint size, ReaderWithOffsetArgs arg)
        {
            ImportBoundForwarderDescription x =
                new ImportBoundForwarderDescription(arg.Source.ReadStringAnsiAt(arg.Offset + s.OffsetModuleName),
                                                    new DateTime(1970, 1, 1).AddSeconds(s.TimeDateStamp));

            Add(x);
            return(true);
        }
Beispiel #2
0
 /// <summary>
 /// Adds new forwarder description to the collection.
 /// </summary>
 public void Add(ImportBoundForwarderDescription f)
 {
     forwarders.Add(f);
 }