ComputerInfo.IsLocalMachine Method (Uri)

Determines if the host name for the given URI matches the current machine.

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

Syntax

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

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

ComputerInfo Class

IsLocalMachine Overload

Microsoft.TeamFoundation.Common Namespace