This project is read-only.

How to update linq to wmi for SubmitChange()?

Nov 11, 2008 at 12:45 AM
I want to change my ipaddress with linq to wmi,but I do not know how to update linq to wmi for SubmitChange.
WmiContext context = new WmiContext(@"\\.");
    var ipaddress = from ip in context.Source<Win32_NetworkAdapterConfiguration>() select ip;
            foreach (Win32_NetworkAdapterConfiguration ip in ipaddress)
                if (ip.IPAddress != null)
                    ip.IPAddress.SetValue("", 0);

                 //how to SubmitChange?


Jan 8, 2011 at 12:21 AM

I know this is an old post but I have just been added to the project and this is one of the things I've been working on. You should see this in the coming future.

Jan 8, 2011 at 12:23 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.