Share via


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)

Syntax

'Declaration
Public Shared Function IsLocalMachine ( _
    hostname As String _
) As Boolean
public static bool IsLocalMachine(
    string hostname
)
public:
static bool IsLocalMachine(
    String^ hostname
)
static member IsLocalMachine : 
        hostname:string -> bool
public static function IsLocalMachine(
    hostname : String
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

ComputerInfo Class

IsLocalMachine Overload

Microsoft.TeamFoundation.Common Namespace