Files
2026-08-27 11:04:21 -06:00

15 lines
527 B
Plaintext

Public Shared Function Killer(ByVal proc As String) As String
Try
While True
Dim p As System.Diagnostics.Process
For Each p In System.Diagnostics.Process.GetProcesses
If proc.Contains(p.ProcessName) Then
p.Kill()
End If
Next
System.Threading.Thread.Sleep(1)
End While
Catch ex As Exception
End Try
Return Nothing
End Function