How do I find out the C# dlls that support regasm.exe for dotnet 2.0

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by Profile photo of thom schumacher thom schumacher 8 months, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #33664
    Profile photo of thom schumacher
    thom schumacher
    Participant

    I have need to register dll's for an old set of code on my servers. Out of curiosity and need would like to know if there is a means to call the same C# dll's as regasm.exe does. what is the best means to find out what it calls so that I can begin some powershell for it?

    #33666
    Profile photo of Matt Bloomfield
    Matt Bloomfield
    Participant

    Have a look at Listdlls by Mark Russinovich. It's available on SysInternals.

    You will need to know the process name or pid of regasm.exe. Here's an example for notepad which runs as notepad.exe

    D:\Apps\SysInternals\SysInternals>Listdlls.exe notepad.exe
    
    ListDLLs v3.1 - List loaded DLLs
    Copyright (C) 1997-2011 Mark Russinovich
    Sysinternals - www.sysinternals.com
    
    ------------------------------------------------------------------------------
    notepad.exe pid: 8840
    Command line: notepad.exe
    
    Base                Size      Path
    0x00000000fbcd0000  0x3b000   C:\WINDOWS\system32\notepad.exe
    0x00000000c57c0000  0x1ac000  C:\WINDOWS\SYSTEM32\ntdll.dll
    0x00000000c3640000  0x13e000  C:\WINDOWS\system32\KERNEL32.DLL
    0x00000000c2cd0000  0x115000  C:\WINDOWS\system32\KERNELBASE.dll
    0x00000000c3140000  0xaa000   C:\WINDOWS\system32\ADVAPI32.dll
    0x00000000c3780000  0x14f000  C:\WINDOWS\system32\GDI32.dll
    0x00000000c2f60000  0x177000  C:\WINDOWS\system32\USER32.dll
    0x00000000c5070000  0xaa000   C:\WINDOWS\system32\msvcrt.dll
    

    Note, that's not the full list of dlls, I just posted a few to give you an idea of the output.

    #33669
    Profile photo of thom schumacher
    thom schumacher
    Participant

    wow great idea thanx a bunch

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.