IComputerInfo Interface

Represents an individual client computer on the Windows Home Server network.

Namespace: Microsoft.HomeServer.SDK.Interop.v1
Assembly: Microsoft.HomeServer.SDK.Interop.v1 (in microsoft.homeserver.sdk.interop.v1.dll)

Usage

Syntax

'Declaration
<TypeLibTypeAttribute(256)> _
<GuidAttribute("F13E2751-699E-40B6-95C5-22FD25C4B515")> _
<InterfaceTypeAttribute(1)> _
Public Interface IComputerInfo
[TypeLibTypeAttribute(256)] 
[GuidAttribute("F13E2751-699E-40B6-95C5-22FD25C4B515")] 
[InterfaceTypeAttribute(1)] 
public interface IComputerInfo
[TypeLibTypeAttribute(256)] 
[GuidAttribute(L"F13E2751-699E-40B6-95C5-22FD25C4B515")] 
[InterfaceTypeAttribute(1)] 
public interface class IComputerInfo
/** @attribute TypeLibTypeAttribute(256) */ 
/** @attribute GuidAttribute("F13E2751-699E-40B6-95C5-22FD25C4B515") */ 
/** @attribute InterfaceTypeAttribute(1) */ 
public interface IComputerInfo
TypeLibTypeAttribute(256) 
GuidAttribute("F13E2751-699E-40B6-95C5-22FD25C4B515") 
InterfaceTypeAttribute(1) 
public interface IComputerInfo

Remarks

The IComputerInfo interface exposes a set of read-only properties that represent attributes of an arbitrary client computer on the Windows Home Server network.

When you want to access an instance of a Windows Home Server client computer, use the GetClientComputerInfo method. GetClientComputerInfo returns an array of objects of type IComputerInfo. You can then iterate through each member of the array to access an individual IComputerInfo instance.

The IComputerInfo interface exposes the following read-only properties:

  • The ComputerName property contains the computer name for the client computer.

  • The Description property contains the end-user-defined text description of the client computer.

  • The IPAddress property contains the current IP address of the client computer.

  • The IsOnline property indicates whether the client computer is currently on the local network.

  • The OSMajorNumber property indicates the version of the operating system that is running on the client computer.

  • The OSMinorNumber property indicates the revision number of the operating system that is running on the client computer.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP

Target Platforms

Windows Home Server

See Also

Reference

IComputerInfo Members
Microsoft.HomeServer.SDK.Interop.v1 Namespace