This documentation is archived and is not being maintained.

ComputerInfo::IsLocalMachine Method (String)

Determines if the given host name matches the current machine.

Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

public:
static bool IsLocalMachine(
	String^ hostname
)

Parameters

hostname
Type: System::String

Return Value

Type: System::Boolean

Show: