Setting Binding Flags is not possible with Windows Store APIs. However I did find a workaround, you would need to create a new project: Portable Class Library, which is targeted to .NET 4+ and Windows Store APIs. Place this method in an empty class:
public void ReflectionMagic(Object obj)
{
BindingFlags flags = BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Static;
Type webview_type = obj.GetType();
ConstructorInfo[] constructorinfo_arr = webview_type.GetConstructors(flags);
MemberInfo[] memberinfo_arr = webview_type.GetDefaultMembers();
EventInfo[] eventinfo_arr = webview_type.GetEvents(flags);
FieldInfo[] fieldinfo_arr = webview_type.GetFields(flags);
Type[] interfaces_arr = webview_type.GetInterfaces();
MemberInfo[] membersinfo_arr = webview_type.GetMembers(flags);
MethodInfo[] methodinfo_arr = webview_type.GetMethods(flags);
Type[] nestedtypes_arr = webview_type.GetNestedTypes(flags);
PropertyInfo[] propertyinfo_arr = webview_type.GetProperties(flags);
Type webview_interface_type = obj.GetType().GetInterfaces()[5].GetType();
ConstructorInfo[] constructorinfo_arr2 = webview_interface_type.GetConstructors(flags);
MemberInfo[] memberinfo_arr2 = webview_interface_type.GetDefaultMembers();
EventInfo[] eventinfo_arr2 = webview_interface_type.GetEvents(flags);
FieldInfo[] fieldinfo_arr2 = webview_interface_type.GetFields(flags);
Type[] interfaces_arr2 = webview_interface_type.GetInterfaces();
MemberInfo[] membersinfo_arr2 = webview_interface_type.GetMembers(flags);
MethodInfo[] methodinfo_arr2 = webview_interface_type.GetMethods(flags);
Type[] nestedtypes_arr2 = webview_interface_type.GetNestedTypes(flags);
PropertyInfo[] propertyinfo_arr2 = webview_interface_type.GetProperties(flags);
}
And from your original project, add a reference to this portable class library, instantiate the class and call the method: ReflectionMagic with the object you want.
You should be able to step through your Portable Class Library code by stepping into the line of code that calls ReflectionMagic. (hint: F11 - step into)
Note: Visual Studio 2012 Express is not able to create portable class libraries. I used the trial version of Visual Studio 2012 Ultimate