C# find unknown window title of known process by known tcp port
Budget: €8 – €30 EUR
Hey there,
I want you to find the window title of a specific process which is listening to a specific TCP port.
For example process "notepad.exe" would listen to the TCP port "12345" but the Windowtitle is "some name".
I want to find and then have "some name" as an item in a combobox then and if I select it a labels text beside of it should display me the TCP port.
Just as an example something like: Firefox.exe listening to TCP port 753 in window "somewebsite", but in the other window "anotherwebsite" it is listening to TCP port 951. I know the process and the TCP ports but I dont know which window title is listening to which TCP port.
An example of how it should look like is attached.
Again, I will give the following input: 'process name' and multiple 'tcp ports'. With those informations I wanna get the 'window titles' listening to one of the given ports and bind those to get shown in the form if needed.
If you plan to use CMD from a lib, please just use hidden cmd.exe to get this done. (Powershell also allowed)
(Maybe like cmd.WindowStyle = ProcessWindowStyle.Hidden;)
Please message me if you still have questions.
Thanks for your attention. :)
I want you to find the window title of a specific process which is listening to a specific TCP port.
For example process "notepad.exe" would listen to the TCP port "12345" but the Windowtitle is "some name".
I want to find and then have "some name" as an item in a combobox then and if I select it a labels text beside of it should display me the TCP port.
Just as an example something like: Firefox.exe listening to TCP port 753 in window "somewebsite", but in the other window "anotherwebsite" it is listening to TCP port 951. I know the process and the TCP ports but I dont know which window title is listening to which TCP port.
An example of how it should look like is attached.
Again, I will give the following input: 'process name' and multiple 'tcp ports'. With those informations I wanna get the 'window titles' listening to one of the given ports and bind those to get shown in the form if needed.
If you plan to use CMD from a lib, please just use hidden cmd.exe to get this done. (Powershell also allowed)
(Maybe like cmd.WindowStyle = ProcessWindowStyle.Hidden;)
Please message me if you still have questions.
Thanks for your attention. :)