AsmResolver.WindowsAssembly.GetSectionHeaderByRva C# (CSharp) Метод

GetSectionHeaderByRva() публичный Метод

Determines the image section the given relative virtual address (RVA) is located at.
public GetSectionHeaderByRva ( long rva ) : ImageSectionHeader
rva long The relative virtual address to check.
Результат ImageSectionHeader
        public ImageSectionHeader GetSectionHeaderByRva(long rva)
        {
            return
                SectionHeaders.FirstOrDefault(
                    sectionHeader =>
                        rva >= sectionHeader.VirtualAddress &&
                        rva < sectionHeader.VirtualAddress + sectionHeader.VirtualSize);
        }