Partager via


ComputerInfo.DnsSafeIsSameMachine Method

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

Syntax

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

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

ComputerInfo Class

Microsoft.TeamFoundation.Common Namespace