Class ConfiguredMachineIdentityProvider
Returns the machine identifier configured via MachineIdentifier.
Inheritance
object
Namespace: Umbraco.Cms.Core.Factories
Assembly: Umbraco.Core.dll
Syntax
public class ConfiguredMachineIdentityProvider : IMachineIdentityProvider
Constructors
View SourceConfiguredMachineIdentityProvider(IOptions<HostingSettings>)
Initializes a new instance of the ConfiguredMachineIdentityProvider class.
Declaration
public ConfiguredMachineIdentityProvider(IOptions<HostingSettings> hostingSettings)
Parameters
| Type | Name | Description |
|---|---|---|
| IOptions<HostingSettings> | hostingSettings |
Methods
View SourceGetMachineIdentifier()
Gets the machine identifier, or null if this provider does not apply.
Declaration
public string? GetMachineIdentifier()
Returns
| Type | Description |
|---|---|
| string |