Hi EspositoMichael,
Hope the Application class and AppDomain class could meet your requirement.
And since Visual C# is not supported in Micrsoft Q&A forum, we suggest you could also post this question to C# forum, the community members will provide better support for you.
Best Regards,
Dylan