uri class : IsLoopback getter

Description

Gets a value that indicates whether the URI references the local host.

Syntax

uriInstance.IsLoopback

Arguments

None

Return value

ClassDescription
boolA value that indicates whether the URI references the local host.

Sample code

1:

uri u = new uri("http://localhost/.../ddd.html");

2:

bool local = u.IsLoopback;

Notes

It's a wrapper of the System.Uri.IsLoopback property.

Links for reference

Copyright © Cooker All rights reserved.