Module |
|
Header |
/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMisc.h |
Include |
#include "GenericPlatform/GenericPlatformMisc.h" |
Source |
/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformMisc.cpp |
static FString GetDeviceId()
Returns a unique string for device identification. Differs from the deprecated GetUniqueDeviceId in that there is no default implementation (which used unreliable Mac address determiniation). This code is expected to use platform-specific methods to identify the device.
WARNING: Use of this method in your app may imply technical certification requirments for your platform! For instance, consoles often require cert waivers to be in place before calling APIs that can track a device, so be very careful that you are following your platform's protocols for accessing device IDs. See the platform- specific implementations of this method for details on what APIs are used.
the unique string generated by this platform for this device, or an empty string if one is not available.