IEnvironmentInformation

Namespace: Babel.Licensing Assembly: Babel.Licensing.dll

Provides a mechanism for retrieving environment information.

public interface IEnvironmentInformation

Properties

ApplicationName

Gets the name of the application.

string ApplicationName { get; }

Property Value

string

ApplicationVersion

Gets the application version.

string ApplicationVersion { get; }

Property Value

string

InstanceCount

Gets the application instance number.

int InstanceCount { get; }

Property Value

int

Is64BitProcess

Whether the current process is a 64-bit process.

bool Is64BitProcess { get; }

Property Value

bool

IsSystemClockRollback

Gets a value indicating whether the system clock was set back.

bool IsSystemClockRollback { get; }

Property Value

bool

IsVirtualEnvironment

Gets a value indicating whether this object is running in a virtual environment.

bool IsVirtualEnvironment { get; }

Property Value

bool

ProcessName

Gets the name of the process.

string ProcessName { get; }

Property Value

string

VirtualEnvironment

Gets the virtual environment name.

string VirtualEnvironment { get; }

Property Value

string

Methods

GetLicenseUsageMode(ILicenseContext)

Gets license usage mode.

string GetLicenseUsageMode(ILicenseContext context)

Parameters

NameDescription

The license context.

Returns

NameDescription

The license usage mode.

Last updated