I have a Windows Forms application. I need an if statement that if a specific procces is running, the label on my form would change color and text. Can I build an if statement that will allow me to do that?
I've been trying
if (Process.GetProcessesByName("RobloxPlayerBeta").Length != 0)
but it would not work.