Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How to get all the instance of a windows Service using WMI?

How to get all the instance of a windows Service using WMI?

Scheduled Pinned Locked Moved C#
helptutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sundar156
    wrote on last edited by
    #1

    Hi, I have a windows service installed in my machine and User can create multipe instance of the Same service dynamically. Now the Problem is how to get the Name of all the Instance of the Windows Service from my windows Application using WMI ?

    people laugh at me because they say im different and I laugh at them because they are all the same.

    K 1 Reply Last reply
    0
    • S sundar156

      Hi, I have a windows service installed in my machine and User can create multipe instance of the Same service dynamically. Now the Problem is how to get the Name of all the Instance of the Windows Service from my windows Application using WMI ?

      people laugh at me because they say im different and I laugh at them because they are all the same.

      K Offline
      K Offline
      kubben
      wrote on last edited by
      #2

      Are you sure it is a windows service? You can only install unique named windows services so I am a little confused by your statement about User can create multiple instances of the same service. The service is always running and perhaps the service launches a windows app then or something? Ben

      S 1 Reply Last reply
      0
      • K kubben

        Are you sure it is a windows service? You can only install unique named windows services so I am a little confused by your statement about User can create multiple instances of the same service. The service is always running and perhaps the service launches a windows app then or something? Ben

        S Offline
        S Offline
        sundar156
        wrote on last edited by
        #3

        Of Course it is a windows service...The name of the Service is Of Course Unique...but has one Executable.

        people laugh at me because they say im different and I laugh at them because they are all the same.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups