EndpointHostHelpers Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides helper methods for validating localhost addresses.
public static class EndpointHostHelpers
type EndpointHostHelpers = class
Public Class EndpointHostHelpers
- Inheritance
-
EndpointHostHelpers
Methods
| IsDevLocalhostTld(String) |
Determines whether the specified host ends with ".dev.localhost". |
| IsDevLocalhostTld(Uri) |
Determines whether the specified URI uses a host that ends with ".dev.localhost". |
| IsLocalhost(String) |
Determines whether the specified host is "localhost". |
| IsLocalhost(Uri) |
Determines whether the specified URI uses a host that is "localhost". |
| IsLocalhostOrLocalhostTld(String) |
Determines whether the specified host is "localhost" or uses the ".localhost" top-level domain. |
| IsLocalhostOrLocalhostTld(Uri) |
Determines whether the specified URI uses a host that is "localhost" or ends with ".localhost". |
| IsLocalhostTld(String) |
Determines whether the specified host ends with ".localhost". |
| IsLocalhostTld(Uri) |
Determines whether the specified URI uses a host that is "localhost". |