- Home /
How to use crossdomain.xml
Im trying to build a web player for my project and am getting an error whenever I try to build it into the web player. It states:
error CS0234: The type or namespace name NetworkInformation' does not exist in the namespace
System.Net'. Are you missing an assembly reference?
If the XML file is supposed to be used. Is it a generic one? or is it specific and needs to be accessed through the script?
This does not seem related to a crossdomain.xml file. It sounds like you're either referencing that namespace improperly or it's not available. The crossdomain.xml file only comes into play when your game tries to reference scripts and webpages on servers other than the one that hosts your game.
It may be that it is not available in the webplayer; some functionality is removed for security reasons.
Your answer
