namespace Umbraco.Cms.Core.Telemetry;
///
/// Used to get and create the site identifier
///
public interface ISiteIdentifierService
{
///
/// Tries to get the site identifier
///
/// True if success.
bool TryGetSiteIdentifier(out Guid siteIdentifier);
///
/// Creates the site identifier and writes it to config.
///
/// asd.
/// True if success.
bool TryCreateSiteIdentifier(out Guid createdGuid);
///
/// Tries to get the site identifier or otherwise create it if it doesn't exist.
///
/// The out parameter for the existing or create site identifier.
/// True if success.
bool TryGetOrCreateSiteIdentifier(out Guid siteIdentifier);
}