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
- uri
Type: System.Uri
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.