microsoft / update-server-server-sync

Sample implementation of the "Windows Update Services: Server-Server" protocol.
MIT License
49 stars 20 forks source link

ClassificationIndex and ProductIndex values are null after we get categories #4

Open Cozdemir opened 3 years ago

Cozdemir commented 3 years ago

I run following code as shown in examples. catogorySource is retrived but ProductIndex and ClassificationIndex values are null for creating a filter.

var server = new UpstreamServerClient(Endpoint.Default); var categoriesSource = await server.GetCategories();

// Create a filter for first product and all classifications for it var filter = new QueryFilter( categoriesSource.ProductsIndex.Values.Take(1), categoriesSource.ClassificationsIndex.Values);

https://microsoft.github.io/update-server-server-sync/examples/metadata_basic.html