Hi,
I want to know how to count number of open same application.
As per example open multiple instance of google chrome then how to count number of open instance.
Thanks
Gaurav
Hi,
I want to know how to count number of open same application.
As per example open multiple instance of google chrome then how to count number of open instance.
Thanks
Gaurav
Hey @gaurav_kumar
have you tried this?
Int count_instance = Process.GetProcessesByName("chrome").Length;
Writeline(count_instance.Tostring());
Note- Chrome create a separate process for each tab so you will get count more based on tabs.
Regards…!!
Aksh