Hello
How to get the Ip address of DMA ID via automation script?
eric septier Selected answer as best 30th April 2025
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 30th April 2025
Thank you Tom. It works perfectly!