system.management problem

hi, i want to use system.management.dll, i import it to asset folder in my project(my project is for windows platform)

and write this script :

    import System.Management;
    import Microsoft.Win32;
    function Start()
    {
    var result:String="";
    var mc:ManagementClass = new ManagementClass("Win32_BIOS");
    var moc:ManagementObjectCollection = mc.GetInstances();
    for(var mo:ManagementObject in moc)
    {
    //Only get the first one
    if (result == "")
    {
    result = mo["IdentificationCode"].ToString();
     
    }
    }
    print(result);
    }

but unity show this error:

NotImplementedException: The requested feature is not implemented. System.Management.ManagementObjectSearcher…ctor (System.String queryString) (wrapper remoting-invoke-with-check) System.Management.ManagementObjectSearcher:.ctor (string)

i change .NET 2.0 subset to .NET 2.0

Mono doesn’t implement System.Management at all http://docs.go-mono.com/ that’s why it is also not in Unity.
For all the classes that are available in Mono, you can check the compatibility for Unity here: http://docs.unity3d.com/Documentation/ScriptReference/MonoCompatibility.html .

can i use visual studio instead of mono to this work ?

Makes no difference what IDE you use, Unity is Mono based not Microsoft .NET based.