Solved! Go to Solution.
MapDisplay _md = null; _md = ESRI.ArcGISExplorer.Application.Application.ActiveMapDisplay; string strMachineName = "localhost"; KmlLayer kmlLayer = new KmlLayer(new Uri(@"http://" + strMachineName + @"/KML/Projects.kml", UriKind.Absolute)); kmlLayer.Name = "LinkToKMLFile"; _md.Map.ChildItems.Add(kmlLayer);