I’m using an C# component someone else wrote, and there’s a varible that needs to be set to match my current ip.
I’ll annoying to change this value because every time i have to click into the component to change it.
this value is under Custom additional code and i’m having trouble creating an input for this value
In C#, the equals symbol is an assignment operator, it doesn’t define a relationship. So the value in ip is assigned to hostIP once and only once. If ip changes later, it will not affect hostIP.
Either store the ip string as a single variable accessible from both the RunScript method and the class, or assign it to the class directly.