AngryAnt
AngryAnt
CC#
Created by AngryAnt on 10/26/2023 in #help
System.Text.Json parsing property with dot in it
That is indeed able to access the value via JsonDocument.Parse (result).RootElement.GetProperty ("m.server").GetString (); - thank you for pointing me there 🙂
6 replies
CC#
Created by AngryAnt on 10/26/2023 in #help
System.Text.Json parsing property with dot in it
No. I am not familiar with that API. I'll give it a look. Thanks 🙂
6 replies
CC#
Created by AngryAnt on 10/26/2023 in #help
System.Text.Json parsing property with dot in it
Yep. [JsonPropertyName ("m.server")] unfortunately has no effect for me.
6 replies
CC#
Created by AngryAnt on 5/26/2023 in #help
❔ Gleaning process launch information from Process reference attained via GetProcessById?
Very nice! Thanks 🙂
25 replies
CC#
Created by AngryAnt on 5/26/2023 in #help
❔ Gleaning process launch information from Process reference attained via GetProcessById?
Thanks 🙂 That does look super interesting. Windows isn't really a priority as a platform, so I'll leave this as a note for later and conclude that a default API approach isn't available. Thank you walking through this with me 🙂
25 replies
CC#
Created by AngryAnt on 5/26/2023 in #help
❔ Gleaning process launch information from Process reference attained via GetProcessById?
But it doesn't look like there's an in-API way of getting those?
25 replies
CC#
Created by AngryAnt on 5/26/2023 in #help
❔ Gleaning process launch information from Process reference attained via GetProcessById?
Makes sense. I guess I could do a less-general-purpose relaunch by hardcoding those and just grabbing the parameters.
25 replies
CC#
Created by AngryAnt on 5/26/2023 in #help
❔ Gleaning process launch information from Process reference attained via GetProcessById?
Ah yes - that was the kind of OS-specific out-of-API workaround I had in mind.
25 replies
CC#
Created by AngryAnt on 5/26/2023 in #help
❔ Gleaning process launch information from Process reference attained via GetProcessById?
WMI?
25 replies
CC#
Created by AngryAnt on 5/26/2023 in #help
❔ Gleaning process launch information from Process reference attained via GetProcessById?
I'm assuming it'll have to be some roundabout way given that StartInfo isn't just populated - I am just not sure which direction. I can attain the information with OS-specific external calls as well, but would definitely prefer a path through existing framework API.
25 replies
CC#
Created by AngryAnt on 5/26/2023 in #help
❔ Gleaning process launch information from Process reference attained via GetProcessById?
Yea that should pretty much cover it.
25 replies