C#C
C#3y ago
uknys

Generic XML Node to Class

Hello, I need to interface with WSUS (using dotnet 8) using ApiRemoting (SOAP), in some functions, it returns a List<Object> (it's intended afaik in the WSDL file).
Is there a way to deserialize the generic type to a specific one without resorting to manual casting and enumerating one by one the list ? (with reflection for exemple)
exemple from the wsdl : https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-wsusar/c162f3b0-61bb-4134-815c-f089962f2e30
Thanks in advance ! 🙂
This example demonstrates how to search for a client computer named WSUSAR-CL1.example.com by using the ExecuteSPSearchComputers (section
Was this page helpful?