For debugging, I need to read a static property from a c# class while it is being used by a web application. For various reasons I am not able to run a debugger on this environment.
Using reflection in a .aspx file, I am able to extract the value I need, however I would like to accomplish this with powershell.
Is this possible?
As a rough example, I have the following class
public static class MyClass{
public static string TheData{
get{return _dataValue};
}
}
I need to read the value of 'TheData', which only exists when the application is running.