Interface IHostEnvironment
- Namespace
- Acuit.Pinpoint.Workstation
- Assembly
- Acuit.Pinpoint.Workstation.Abstractions.dll
Services for interacting with the host environment.
public interface IHostEnvironment
Properties
ComputerName
Gets the computer name.
string ComputerName { get; }
Property Value
Configuration
Gets the host-wide key/value configuration settings.
IConfigurationRoot Configuration { get; }
Property Value
DataDirectory
Gets the path to the host data directory. This directory will exist and will be in the CommonApplicationData area.
string DataDirectory { get; }
Property Value
IsAcuitPinpointEmulated
Gets whether Acuit Pinpoint is being emulated.
bool IsAcuitPinpointEmulated { get; }
Property Value
UserDataDirectory
Gets the path to the host-specific data directory for the current, non-roaming user. This directory will exist and will be in the LocalApplicationData area.
string UserDataDirectory { get; }
Property Value
Methods
OpenFolderInFileExplorer(string)
Opens a local folder in File Explorer.
void OpenFolderInFileExplorer(string path)
Parameters
pathstringThe path to the folder.
Exceptions
- ArgumentNullException
pathis null.