Compartilhar via


Adding a Network Entry Example

4/8/2010

This example adds the current wireless network connection (Adapter Name) to the device with its destination set as Work.

Code Example

   <characteristic type="CM_NetEntries">
      <characteristic type="Adapter Name">
         <parm name="DestId" 
         value="{A1182988-0D73-439e-87AD-2A5B369F808B}"/>
         <parm name="Adapter" 
         value="NDIS Adapter Qualified Name"/>
         <parm name="Desc.Default"
         Value="Network Card Description"
      </characteristic>
   </characteristic>

Remarks

One provisioning XML file typically contains configuration information for multiple Configuration Service Providers. To use this example, you must replace the values as appropriate, and add the node as a child of the OMA Client Provisioning file. For information about the syntax of this file, see OMA Client Provisioning Files. For examples, see OMA Client Provisioning XML File Examples.

Replace Adapter Name with the name of a wireless adapter as it appears on the "Configure Network Adapters" screen. Replace Qualified Name with the fully qualified name of the wireless adapter. You can discover the fully qualified name using a tool like Ipconfig. The ipconfig /all command displays the fully qualified name. ** Replaces Network Card Description with the default description of the connection name as it is presented to the user in the UI.

See Also

Tasks

CM_NetEntries Configuration Service Provider Examples for OMA Client Provisioning

Reference

CM_NetEntries Configuration Service Provider