Click or drag to resize

CloudHostUtils Class

Public wrapper exposing the cloud entitlement gate to cross-platform consumers. Resolves the platform service lazily on first use; falls back to a no-op host when no platform implementation is registered.
Inheritance Hierarchy
SystemObject
  Rhino.RuntimeCloudHostUtils

Namespace:  Rhino.Runtime
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static class CloudHostUtils

The CloudHostUtils type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberDenyReason
Human-readable reason the entitlement was actively denied. Null both when entitled AND when the gate doesn't apply to this instance.
Public propertyStatic memberIsEntitled
True when the running instance is entitled by its cloud provider. See ICloudHost remarks for tri-state semantics.
Public propertyStatic memberSignature
Signed proof of entitlement returned by the cloud provider (null when not applicable).
Top
Methods
  NameDescription
Public methodStatic memberCheckEntitlement
Performs the cloud entitlement check (and on AMI-based Marketplace products, also submits a metering record). Re-callable — each invocation runs the gate independently and the platform implementation makes no claim of idempotency. On EC2 with a Marketplace-attached product code and the right IAM role this calls AWS Marketplace MeterUsage; elsewhere this is a no-op.
Top
See Also