You need to distinguish the types that are reported by MWG - the MediaType.EnsuredTypes is what we detect by looking only to content, without any headers - we're using the "application/x-sliverlight". And if you want to check the type reported by server, then you need to use the property MediaType.FromHeader that you can use in the condition like "MediaType.FromHeader EQUALS application/x-silverlight-app"...
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.
Community Help Hub
New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.