I actually need to create an instance on Siemens PLCSim Advanced (a virtual network simulator) and I need to use :
using Siemens.Simatic.Simulation.Runtime;
void button1.click()
{
IInstance myInstance = SimulationRuntimeManager.RegisterInstance("nameOfYourInstance");
myInstance.PowerOn();
}
but I don't know what is the reference name that I need to add. I need your help if you know.