Provider::GetLocalComputerName method

[The Provider class is part of the WMI Provider Framework which is now considered in final state, and no further development, enhancements, or updates will be available for non-security related issues affecting these libraries. The MI APIs should be used for all new development.]

The GetLocalComputerName method returns a constant reference to the computer name in CHString format.

Syntax

const CHString & GetLocalComputerName(

);

Parameters

This method has no parameters.

Return Value

Returns a constant reference to the name of the computer.

Requirements

   
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header provider.h (include FwCommon.h)
Library FrameDyn.lib
DLL FrameDynOS.dll; FrameDyn.dll