Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I am trying to programmatically obtain a title of a process window I have PID of in Ubuntu with default configuration, or a clean Ubuntu installation if you will. I know this is possible on Linux, as I managed to get that information with xdotool, however I am trying to find a way to perform this task without an external program. That tool relies on xlib, a C solution for window management. I found an incomplete wrapper of it called X11.net and attempted to essentially translate this code to C# using it, resulting in the following:
I am trying to programmatically obtain a title of a process window I have PID of in Ubuntu with default configuration, or a clean Ubuntu installation if you will. I know this is possible on Linux, as I managed to get that information with xdotool, however I am trying to find a way to perform this task without an external program. That tool relies on xlib, a C solution for window management. I found an incomplete wrapper of it called X11.net and attempted to essentially translate this code to C# using it, resulting in the following: