Loading...
Searching...
No Matches
AccelByte.Api.DeviceProvider Class Reference

Public Member Functions

 DeviceProvider (string deviceType, string identifier, string uniqueId)

Static Public Member Functions

static string EncodeHMAC (string macAddress, string key)
static DeviceProvider GetFromSystemInfo (string encodeKey, string generatedIdCacheFileDir=null, IDebugger logger=null, IFileStream fs=null, Models.DeviceIdGeneratorConfig deviceIdGeneratorConfig=null)
static void CacheDeviceId (string cachedDeviceId, string generatedIdCacheFileDir=null, IDebugger logger=null, IFileStream fs=null)
static string GetDeviceMacAddress ()
static string[] GetMacAddress ()

Public Attributes

readonly string DeviceId
readonly string DeviceType
readonly string UniqueId

Static Public Attributes

static string DefaultGeneratedIdCacheFileDir = $"{GameCommonInfo.PersistentPath}/ccelByte/"
static string CacheFileName = "DeviceId"