zdk.net
Public Member Functions | Public Attributes | Properties | List of all members
ZDK_NET::ActivationResult Class Reference

Activation process result. More...

#include <ActivationResult.h>

Inheritance diagram for ZDK_NET::ActivationResult:
ZDK_NET::ZHandle

Public Member Functions

 ActivationResult (ZDK::Shared::ActivationResult src)
 
virtual long long Handle () override
 
virtual void Initialize () override
 
virtual void ReleaseReference () override
 

Public Attributes

ZDK::IActivationResult * cppRef = nullptr
 

Properties

ZDK_NET::ActivationStatus Status [get]
 Activation process status result. More...
 
System::String^ Reason [get]
 Text representation of the reason for the activation status. More...
 
System::String^ Certificate [get]
 The certificate returned by the activation server in case of successful activation. More...
 
System::String^ Build [get]
 The build type returned by the activation server in case of successful activation. More...
 
System::String^ HddSerial [get]
 The HDD serial number associated with this activation returned by the activation server. More...
 
System::String^ Mac [get]
 The MAC address associated with this activation returned by the activation server. More...
 
System::String^ Checksum [get]
 The checksum of the ZDK library returned by the activation server. More...
 

Detailed Description

Activation process result.

This structior is filled and fired in ContextEventsHandler OnContextActivationCompleted() only if the activation process has completed unambiguously. This means that we have reached the server successfully and got a proper result, be it successful or not.

This means that in case of an error, it is a final error and not a temporary error. No timeouts or other temporary errors will result in filling this structure and reception of OnContextActivationCompleted(). Temporary errors will lead to the library retrying gracefully until a unambiguous result is obtained.

The activation process will retry until it gets a proper response from the server.

The result from the server can be either "Success" followed by the rest fields filled in or any kind of error and and Reason() and all the rest fields being empty.

See also
ContextEventsHandler, OnContextActivationCompleted()

Property Documentation

◆ Build

System:: String^ ZDK_NET::ActivationResult::Build
get

The build type returned by the activation server in case of successful activation.

In case of failure it can be either empty string or even null pointer!

Returns
The activation build type

◆ Certificate

System:: String^ ZDK_NET::ActivationResult::Certificate
get

The certificate returned by the activation server in case of successful activation.

In case of failure it can be either empty string or even null pointer!

Returns
The activation certificate

◆ Checksum

System:: String^ ZDK_NET::ActivationResult::Checksum
get

The checksum of the ZDK library returned by the activation server.

In case of failure it can be either empty string or even null pointer!

Returns
The ZDK's library checksum

◆ HddSerial

System:: String^ ZDK_NET::ActivationResult::HddSerial
get

The HDD serial number associated with this activation returned by the activation server.

In case of failure it can be either empty string or even null pointer!

Returns
The HDD serial number

◆ Mac

System:: String^ ZDK_NET::ActivationResult::Mac
get

The MAC address associated with this activation returned by the activation server.

In case of failure it can be either empty string or even null pointer!

Returns
The MAC address

◆ Reason

System:: String^ ZDK_NET::ActivationResult::Reason
get

Text representation of the reason for the activation status.

Explains the meaning of the activation status result.

Returns
Description of the activation process status result
See also
Status()

◆ Status

ZDK_NET:: ActivationStatus ZDK_NET::ActivationResult::Status
get

Activation process status result.

Represents the activation process starus result - "Success" or the type of failure.

Returns
The activation process status
See also
ActivationStatus

The documentation for this class was generated from the following file: