Application.GetResourceStream returns StreamResourceInfo where ContentType is empty

I have 1 client where a call to Application.GetResourceStream returns a StreamResourceInfo object where the ContentType property is empty.

All other clients return a StreamResourceInfo object with ContentType = "image / png".

Does anyone know why this 1 client is not populating the ContentType property? The Stream property is the same for all clients.

Best wishes, Krimson

+2


source to share


1 answer


This happened because 1 client did not have a key HKEY_CLASSES_ROOT\.png

in the Windows registry.



+2


source







All Articles