psobject obtient le nom du service

 var ServiceName = data.Properties["ServiceName"].Value.ToString();
Arad Aryan