public string getSharedProperty(string key){ if (sharedProperties == null) return null; string value = null; if (sharedProperties.TryGetValue (key, out value)) return value; else return null; }