Answered by:
Enumeration

Question
-
Hi all, sorry for that stupid question, but I cannot break it. How can I get the list of clients for WHS (with some info: name, IP, etc.) and the same info for server itself. I found some data in registry, but I think that it's not the right way. Many thanks for your answers!Tuesday, June 5, 2007 4:34 PM
Answers
-
The information WHS exposes is documented in the SDK:
WHSInfoClass.GetClientComputerInfo Method
should get you started...Tuesday, June 5, 2007 9:11 PMModerator -
@czPaul - when you add the HomeServer.dll to your VizStudio project, the interop will be generated.
You will also want to take a look at the HomeServer.idl info in the SDK, which shows how to register the COM object on you dev box.
http://msdn2.microsoft.com/en-us/library/bb400727.aspxWednesday, June 6, 2007 1:57 PM
All replies
-
The information WHS exposes is documented in the SDK:
WHSInfoClass.GetClientComputerInfo Method
should get you started...Tuesday, June 5, 2007 9:11 PMModerator -
Many thanks! It makes sense, but I must have some problem with my WHS installation, because I cannot find interop.whsinfoif.dll file.
Namespace: WHSInfoIF
Assembly: Interop.WHSInfoIF (in interop.whsinfoif.dll)I downloaded that file using this post (in msi package):
but it's not correct solution, I think.
many thanks for your help!
Wednesday, June 6, 2007 8:31 AM -
@czPaul - when you add the HomeServer.dll to your VizStudio project, the interop will be generated.
You will also want to take a look at the HomeServer.idl info in the SDK, which shows how to register the COM object on you dev box.
http://msdn2.microsoft.com/en-us/library/bb400727.aspxWednesday, June 6, 2007 1:57 PM -
Many thanks!!!Wednesday, June 6, 2007 3:18 PM