Hello
How to get the Ip address of DMA ID via automation script?
eric septier Selected answer as best
Hi Eric,
If you would need the IP address of a specific DMA in a cluster, you can use the 'GetDataMinerByIDMessage' SLNet message as follows:
var agentId = 123;
var message = new GetDataMinerByIDMessage(agentId);
var response = engine.SendSLNetSingleResponseMessage(message) as GetDataMinerInfoResponseMessage;var primaryIP = response.PrimaryIP;
var secondaryIP = response.SecondaryIP;
eric septier Posted new comment
Thank you Tom. It works perfectly!