Find network service address

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • adrya1984
    New Member
    • Dec 2009
    • 3

    Find network service address

    Hi,

    I have a WCF service listening on a dynamic allocated port in windows Service Registry. How can i find the listening address of this service from another c# application? Or at least the port of this service?

    Thanks, Adriana
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    Ooooo hmm. I think it can be done with win32_api.
    I know that using netstat, you can look at the output and see what program has what ports open.
    There might also be some way via WMI, but I am not sure

    Comment

    Working...