I can get a non-static property no problem (How to get properties of a class in WinRT), or a static property in c# .net, but can't figure out how to get a static property in C3 winrt.
This is as far as I've gotten. Can anyone help?
Type type = typeof(ToastNotificationManager);
var typeInfo = type.GetTypeInfo();
var historyProperty = type.GetRuntimeProperty("History");
object history = historyProperty.get
property.SetValue(obj, value);
I'm trying to reflect for and call ToastNotificationManager.History.Remove() which is only supported on the phone (ToastNotificationManager.History)