Share via


ComputerInfo.IsSameMachine Method

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

Syntax

'Declaration
Public Shared Function IsSameMachine ( _
    hostname1 As String, _
    hostname2 As String _
) As Boolean
public static bool IsSameMachine(
    string hostname1,
    string hostname2
)
public:
static bool IsSameMachine(
    String^ hostname1, 
    String^ hostname2
)
static member IsSameMachine : 
        hostname1:string * 
        hostname2:string -> bool
public static function IsSameMachine(
    hostname1 : String, 
    hostname2 : String
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

ComputerInfo Class

Microsoft.TeamFoundation.Common Namespace