Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.