F
F
foxlye2020-03-01 12:47:51
C++ / C#
foxlye, 2020-03-01 12:47:51

How to convert process name to lower case?

I have code:

if (runningProcs.Count(p => p.ProcessName.Contains(detected[i])) > 0)

How can I make the process name in lower case?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2020-03-01
@foxlye

p.ProcessName.ToLower()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question