TestimoX

API Reference

Class

LocalHost

Namespace ComputerX.Common
Assembly ComputerX
Modifiers static

Utilities for reasoning about the local host identity (short name, FQDN, localhost forms).

Inheritance

  • Object
  • LocalHost

Methods

public static Boolean IsLocal(String host) #
Returns: Boolean

Returns true when the provided host string refers to the local machine.

Parameters

host System.String requiredposition: 0
Hostname or IP address; accepts '.', 'localhost', short/FQDN, or local IPs.