Class DefaultMachineIdentityProvider
Returns System.Environment.MachineName as the machine identifier.
Inheritance
object
Namespace: Umbraco.Cms.Core.Factories
Assembly: Umbraco.Core.dll
Syntax
public class DefaultMachineIdentityProvider : IMachineIdentityProvider
Remarks
This is the final fallback provider and always returns a non-null value.
Constructors
View SourceDefaultMachineIdentityProvider()
Declaration
public DefaultMachineIdentityProvider()
Methods
View SourceGetMachineIdentifier()
Gets the machine identifier, or null if this provider does not apply.
Declaration
public string? GetMachineIdentifier()
Returns
| Type | Description |
|---|---|
| string |