Existe-t-il un moyen d'obtenir le PID d'un processus bloquant un fichier à l'aide de C #?

StackOverflow https://stackoverflow.com/questions/816645

  •  03-07-2019
  •  | 
  •  

Question

Existe-t-il un moyen d'obtenir le PID d'un processus bloquant un fichier à l'aide de C #?

Était-ce utile?

La solution

Je ne sais pas si cela peut être fait entièrement dans le cadre, mais vous pouvez peut-être appeler SysInternals 'Handle.exe pour faire le gros du travail ici?

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top