Categories > Coding > C# >
Check if RobloxPlayerBeta is running
Posted
i wanna check if robloxplayerbeta is open while my programm is running. Like when i open my Exploit and then open Roblox, it should check if the process runs? how to do it?
i am c# dev whatsoever
Replied
Ctrl + Shift + Esc
Cancel
Post
Replied
if (Process.GetProcessByName("RobloxProcessHere").Length > 0) // If there is a process then it will do:
{
// Code if there is a process
}
else // else if the isn't a process then it will do:
{
// Code if there isn't a process
}
Cancel
Post
https://media.discordapp.net/attachments/1010636204225601659/1012865624797610044/sKQybOLT.gif
Replied
Cancel
Post
Replied
@MaximusExploit what if there's 2 roblox processes running?
i'd use >=
also just return the thing in the function instead of doing true false
Cancel
Post
Added
private bool IsRunnin() {
Process[] proc = Process.GetProcessesByName("RobloxPlayerBeta");
return proc.Length >= 1;
}
Cancel
Post
My new discord is Wabz#1337 with ID 777154062789509130
My new discord is Wabz#1337 with ID 777154062789509130
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post