Share via


2.2 Computer Information

The Publication Services Data Structure advertises three pieces of information about a computer:

  • A type indicating that the device represents a computer

  • The NetBIOS domain name for the computer

  • The NetBIOS computer name

     <xs:simpleType name="DiscoveryTypeValues">
       <xs:restriction base="xs:QName">
         <xs:enumeration value="Computer" />
       </xs:restriction>
     </xs:simpleType>
      
     <xs:element name="Computer" type="xs:string" minOccurs="0" />
    

    Element

    Description

    wsdp:Relationship/wsdp:Host/wsdp:Types

    Indicator type for a device representation of a Publication Services-enabled computer (pub:Computer).

    wsdp:Relationship/wsdp:Host/pub:Computer

    NetBIOS information for the computer.

NetBIOS information for the computer is formatted as follows:

  • If the computer is domain joined:

     <NetBIOS_Computer_Name>/Domain:<NetBIOS_Domain_Name>
    
  • If the computer is in a workgroup:

     <NetBIOS_Computer_Name>\Workgroup:<Workgroup_Name>
    
  • Otherwise:

     <NetBIOS_Computer_Name>\NotJoined
    

Note  The pub:Computer element replaces the <any> element wildcard of the HostServiceType complex type, which is instantiated through the <Host> element of the DPWS schema.