Service Time

Overview

Magify SDK provides built-in way to verify the current real time using time synchronization with the server.

IsNetworkTimeProtected

IReadOnlyReactiveProperty<bool> IsNetworkTimeProtected { get; }

Determines whether the current Now and UtcNow time provided can be trusted. SDK automatically marks it as untrusted if synchronization with the server after hot start fails.

Now

DateTime Now { get; }

Displays the current local time synchronized with the server (based on DateTime.Now).

UtcNow

DateTime UtcNow { get; }

Displays the current UTC time synchronized with the server (based on DateTime.UtcNow).

MarkAsUnprotected

void MarkAsUnprotected()

Allows you to force mark the current provided time as untrusted.

Related articles

Purchases

Introduction

Creatives

ICampaignWithCreative

Analytics Service

Magify Manager