Sam - thank you for your reply. I was trying to create a document that was to instruct the earth browser.
I have solved the problem, and feel a bit stupid I didn't try it this way first. I took my KML and within Google Earth manually added the refresh parameters then looked at the resultant KML. This showed me that it is not the NetworkLink that has the refresh
but the NetworkLink's Link parameter that does. The KML being:
This meant the SharpKml code had the necessary parameters so my C# code is:
// create the network link
NetworkLink networkLink = new NetworkLink();
networkLink.Name = "a name";
networkLink.Link = new Link();
networkLink.Link.Href = new Uri("http://somewhere.com/afile.kml");
// parameters to get link to refresh every second
networkLink.Link.RefreshInterval = 1;
networkLink.Link.RefreshMode = RefreshMode.OnInterval;
// add to Document and Kml.Feature ....
kml.Feature = document
I hope this can help someone else out in the future ;-)