Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IMachineInfoFactory

    Fetches information of the host machine.

    Namespace: Umbraco.Cms.Core.Factories
    Assembly: Umbraco.Core.dll
    Syntax
    public interface IMachineInfoFactory

    Methods

    View Source

    GetLocalIdentity()

    Gets the local identity for the executing AppDomain.

    Declaration
    string GetLocalIdentity()
    Returns
    Type Description
    string
    Remarks

    It is not only about the "server" (machine name and appDomainappId), but also about an AppDomain, within a Process, on that server - because two AppDomains running at the same time on the same server (eg during a restart) are, practically, a LB setup.

    Practically, all we really need is the guid, the other infos are here for information and debugging purposes.

    View Source

    GetMachineIdentifier()

    Fetches the name of the Host Machine for identification.

    Declaration
    string GetMachineIdentifier()
    Returns
    Type Description
    string

    A name of the host machine.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX