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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Get Running Processes Using A Library [modified]

Get Running Processes Using A Library [modified]

Scheduled Pinned Locked Moved C#
announcementdotnet
2 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.
  • A Offline
    A Offline
    Aaron Dilliard
    wrote on last edited by
    #1

    I was wondering if there was a way to determine application dependencies at runtime.. I have several applications sharing a managed library registered in the GAC. When I need to update that library (not changing its version info, so that I dont have to recompile the programs to use the updated library), I need a way to see what open processes are using that library so I can kill them before the update. If anyone has any suggestions, please let me know. Thanks is advance, Aaron

    N 1 Reply Last reply
    0
    • A Aaron Dilliard

      I was wondering if there was a way to determine application dependencies at runtime.. I have several applications sharing a managed library registered in the GAC. When I need to update that library (not changing its version info, so that I dont have to recompile the programs to use the updated library), I need a way to see what open processes are using that library so I can kill them before the update. If anyone has any suggestions, please let me know. Thanks is advance, Aaron

      N Offline
      N Offline
      Nader Elshehabi
      wrote on last edited by
      #2

      Hello If you already know all the applications that could possibly be using that library, you could look the up using Process.GetProcesses Method. Otherwise reboot in safe mood, then replace it. Regards:rose:

      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