Hi, recently i doing a little crazy stuff with unity.
so what I do is copy a .NET assemblies (System.Management) to unity Plugins folder.
then, I trying to test it within my project using this code:
ManagementObjectSearcher searcher = new ManagementObjectSearcher (
WMINamespace,
"SELECT " + Member + " FROM " + WMIClass + " " + AddQuery);
but suddenly, when i try that script, unity crashed even when i debug my script from MonoDevelop.
even when i build the project, unity fail to compile the .NET assembly inside Plugins folder.
so is there anybody have tried this crazy stuff? cause as far as i know that Unity are using mono Assemblies, and from mono documentation says, `System.Management` are not included in their assemblies.
↧